refactor: mp模块统一accountId未初始化值为-1,删除QueryParams定义

This commit is contained in:
dhb52
2023-04-22 23:43:35 +08:00
parent 036c9b3366
commit 198752868c
11 changed files with 42 additions and 83 deletions

View File

@ -8,13 +8,14 @@
import * as MpAccountApi from '@/api/mp/account'
const account: MpAccountApi.AccountVO = reactive({
id: undefined,
id: -1,
name: ''
})
const accountList: Ref<MpAccountApi.AccountVO[]> = ref([])
const accountList = ref<MpAccountApi.AccountVO[]>([])
const emit = defineEmits<{
(e: 'change', id: number, name: string): void
(e: 'change', id: number, name: string)
}>()
const handleQuery = async () => {