优化了“新增模型配置”

This commit is contained in:
CGD
2025-04-07 09:44:48 +08:00
parent 17bcaba026
commit d4f6e25f92
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -315,11 +315,12 @@ export default {
handleAddConfirm(newModel) {
const params = {
modelType: this.activeTab,
provideCode: newModel.supplier,
provideCode: newModel.provideCode,
formData: {
...newModel,
isDefault: newModel.isDefault ? 1 : 0,
isEnabled: newModel.isEnabled ? 1 : 0
isEnabled: newModel.isEnabled ? 1 : 0,
configJson: newModel.configJson
}
};