whj 1 місяць тому
батько
коміт
119b74b569

+ 1 - 0
src/views/custom/className/modules/BaseForm.vue

@@ -113,6 +113,7 @@ export default {
         return
       }
       this.modalTitle = '编辑'
+      this.code = record.code
       const {
         form: { setFieldsValue },
       } = this

+ 1 - 0
src/views/custom/form/modules/component/modules/Detail.vue

@@ -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)
       }