Sfoglia il codice sorgente

improve: 商品类型切换规格获取

From-wh 2 anni fa
parent
commit
923035d071
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      template/admin/src/pages/product/productAdd/index.vue

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

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