瀏覽代碼

improve: 商品编辑类型切换数据更新

From-wh 3 年之前
父節點
當前提交
6b8c2e44f5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      template/admin/src/pages/product/productAdd/index.vue

+ 3 - 0
template/admin/src/pages/product/productAdd/index.vue

@@ -1944,6 +1944,9 @@ export default {
               this.formValidate.spec_type = this.spec_type;
               this.$Message.error(res.msg);
             });
+          if (this.formValidate.spec_type == 1) {
+            this.generate(1);
+          }
         }
       }
       switch (index) {