yuwenjun před 4 roky
rodič
revize
5d90659482
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/supplier/user/add.vue

+ 1 - 1
src/views/supplier/user/add.vue

@@ -462,7 +462,7 @@ export default {
     handleShowInfo(index) {
       this.dialogTitle = '修改'
       this.currentIndex = index
-      this.formData2 = this.supplierBrands[index]
+      this.formData2 = this.clone(this.supplierBrands[index])
       this.prevBrandId = this.supplierBrands[index].brandId // 保存当前的品牌id
       this.fileList2 = [{ name: '', url: this.formData2.brandAuthLogo }]
       this.fileList3 = [{ name: '', url: this.formData2.statementImage }]