|
@@ -101,7 +101,7 @@ const openDialog = async (type: number, title: string, row?: any) => {
|
|
|
width: 500,
|
|
|
isEdit: type !== 3,
|
|
|
itemsOptions: itemsOptions,
|
|
|
- model: type == 1 ? { dictType: defaultDictType.value, version: 0 } : { ...res.data, version: 0 },
|
|
|
+ model: type == 1 ? { dictType: defaultDictType.value, version: 0 } : res.data,
|
|
|
api: type == 1 ? addDataApi : updateDataApi,
|
|
|
getTableList: proTable.value?.getTableList
|
|
|
}
|