mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
-- bug
This commit is contained in:
@@ -33,16 +33,12 @@ const props = defineProps({
|
||||
})
|
||||
const emit = defineEmits({})
|
||||
|
||||
const options = ref([])
|
||||
const options = computed(() => store.state.orgtreeList)
|
||||
|
||||
const id = computed(() => {
|
||||
return props.value
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
options.value = [...store.state.orgtreeList]
|
||||
})
|
||||
|
||||
function change(key, obj) {
|
||||
emit('update:name', obj[0])
|
||||
emit('update:value', key)
|
||||
|
||||
Reference in New Issue
Block a user