yuwenjun %!s(int64=3) %!d(string=hai) anos
pai
achega
5d90659482
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }]