Browse Source

修改bug.

zhangfufeng 1 week ago
parent
commit
767e3716f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/goods/edit.vue

+ 2 - 2
src/views/goods/edit.vue

@@ -2098,8 +2098,8 @@ export default {
       }
       if (!this.goodsValidate()) return;
       let products = [];
-
-      this.products.forEach(pro => {
+      const productList = JSON.parse(JSON.stringify(this.products));
+      productList.forEach(pro => {
         var proItem = pro;
         //proItem.productType=this.goods.productType;
         // if (