Parcourir la source

配套商品增加不能勾选商品吐司提示

zhengjinyi il y a 3 ans
Parent
commit
8e4966c35e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/main/resources/static/js/product/product-supporting.js

+ 2 - 1
src/main/resources/static/js/product/product-supporting.js

@@ -133,7 +133,8 @@ var supporting = new Vue({
             var _self = this;
             var goodsCheckedLength = 0;
             if(_self.disabledChecked(pros)){
-                return
+                CAIMEI.dialog('该商品暂不能购买',false);
+                return;
             }
             pros.isChecked = !pros.isChecked
             _self.supportingList.forEach(el => {