mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
-- 项目创建修改
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</a-select>
|
||||
</template>
|
||||
<script>
|
||||
import {reactive, toRefs, watch} from "vue";
|
||||
import {onMounted, reactive, toRefs, watch} from "vue";
|
||||
import {scrollLoad} from "@/api/method";
|
||||
import * as api1 from "@/api/index1";
|
||||
|
||||
@@ -48,7 +48,11 @@ export default {
|
||||
});
|
||||
|
||||
watch(() => state.memberParam, getMember)
|
||||
watch(() => props.value, init)
|
||||
watch(props , init)
|
||||
|
||||
onMounted(() => {
|
||||
console.log('onMounted')
|
||||
})
|
||||
|
||||
function getMember() {
|
||||
state.loading = true
|
||||
@@ -83,8 +87,10 @@ export default {
|
||||
state.managerArray = arrManagerId
|
||||
state.options = arrManager.map((e, i) => ({label: e, value: arrManagerId[i]}))
|
||||
state.init = true
|
||||
getMember()
|
||||
} else {
|
||||
state.options = []
|
||||
}
|
||||
getMember()
|
||||
}
|
||||
|
||||
function change(e, l) {
|
||||
|
||||
Reference in New Issue
Block a user