Sfoglia il codice sorgente

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

From-wh 2 anni fa
parent
commit
6b8c2e44f5
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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) {