Conflicts:
	build/vite/optimize.ts
This commit is contained in:
YunaiV
2023-05-15 22:58:36 +08:00
20 changed files with 138 additions and 122 deletions

View File

@ -122,7 +122,9 @@ const open = async (type: string, id?: number, dictType?: string) => {
dialogTitle.value = t('action.' + type)
formType.value = type
resetForm()
formData.value.dictType = dictType
if (dictType) {
formData.value.dictType = dictType
}
// 修改时,设置数据
if (id) {
formLoading.value = true