This commit is contained in:
yuping
2022-12-14 19:26:13 +08:00
parent ea244ad566
commit f34add84f0

View File

@@ -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)