mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 13:26:45 +08:00
-- bug
This commit is contained in:
@@ -39,11 +39,8 @@ const id = computed(() => {
|
||||
|
||||
const emit = defineEmits({})
|
||||
|
||||
const options = ref([])
|
||||
const options = computed(()=>store.state.projectLevel.map(e => ({value: parseInt(e.dictCode), label: e.dictName})))
|
||||
|
||||
onMounted(() => {
|
||||
options.value = store.state.projectLevel.map(e => ({value: parseInt(e.dictCode), label: e.dictName}))
|
||||
})
|
||||
|
||||
function change(key) {
|
||||
emit('update:value', key)
|
||||
|
||||
Reference in New Issue
Block a user