Browse Source

bug修复

yuwenjun 3 years ago
parent
commit
5d90659482
1 changed files with 1 additions and 1 deletions
  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 }]