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

@@ -40,11 +40,7 @@ const id = computed(() => {
const emit = defineEmits({})
const options = ref([])
onMounted(() => {
options.value = store.state.projectSys.map(e => ({value: parseInt(e.dictCode), label: e.dictName}))
})
const options = computed(() => store.state.projectSys.map(e => ({value: parseInt(e.dictCode), label: e.dictName})))
function change(key) {
emit('update:value', key)