瀏覽代碼

bug修复

yuwenjun 3 年之前
父節點
當前提交
5d90659482
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {
     handleShowInfo(index) {
       this.dialogTitle = '修改'
       this.dialogTitle = '修改'
       this.currentIndex = index
       this.currentIndex = index
-      this.formData2 = this.supplierBrands[index]
+      this.formData2 = this.clone(this.supplierBrands[index])
       this.prevBrandId = this.supplierBrands[index].brandId // 保存当前的品牌id
       this.prevBrandId = this.supplierBrands[index].brandId // 保存当前的品牌id
       this.fileList2 = [{ name: '', url: this.formData2.brandAuthLogo }]
       this.fileList2 = [{ name: '', url: this.formData2.brandAuthLogo }]
       this.fileList3 = [{ name: '', url: this.formData2.statementImage }]
       this.fileList3 = [{ name: '', url: this.formData2.statementImage }]