mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
-- 修改
This commit is contained in:
@@ -29,7 +29,11 @@ import {useStore} from "vuex";
|
||||
const store = useStore();
|
||||
|
||||
const props = defineProps({
|
||||
value: String
|
||||
value: String,
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
})
|
||||
const emit = defineEmits({})
|
||||
|
||||
@@ -38,8 +42,9 @@ const options = computed(() => store.state.orgtreeList)
|
||||
const id = computed(() => {
|
||||
return props.value
|
||||
})
|
||||
|
||||
function change(key, obj) {
|
||||
console.log(obj[0],key,props.value);
|
||||
console.log(obj[0], key, props.value);
|
||||
emit('update:name', obj[0])
|
||||
emit('update:value', key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user