@@ -113,6 +113,7 @@ export default {
return
}
this.modalTitle = '编辑'
+ this.code = record.code
const {
form: { setFieldsValue },
} = this
@@ -173,6 +173,7 @@ export default {
if (val.id === this.model.id) return
this.model = val
this.config = config
+ this.additionalField = []
if (this.model.attrs.dict !== undefined && this.model.attrs.dict !== '') {
this.dictChange(this.model.attrs.dict)