This commit is contained in:
yuping
2022-12-14 15:17:03 +08:00
parent a573498512
commit 474a360dc6
6 changed files with 147 additions and 165 deletions

View File

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