mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 06:46:46 +08:00
--fix bug
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</a-tree-select>
|
||||
</template>
|
||||
<script setup>
|
||||
import { defineEmits, defineProps, ref, watch } from "vue";
|
||||
import {defineEmits, defineProps, ref, watch, watchEffect} from "vue";
|
||||
import { boeRequest, useBoeApi } from "@/api/request";
|
||||
import { ORG_CHILD_LIST, ORG_LIST } from "@/api/ThirdApi";
|
||||
|
||||
@@ -66,6 +66,10 @@ const { data: options, loading: orgLoading } = useBoeApi(
|
||||
}
|
||||
);
|
||||
|
||||
watchEffect(()=>{
|
||||
labelValue.value = props.value;
|
||||
})
|
||||
|
||||
watch(props, () => {
|
||||
// stuTreeExpandedKeys.value = [];
|
||||
// console.log("labelValue.value", labelValue.value, props.value);
|
||||
|
||||
Reference in New Issue
Block a user