zhaoxiaohai 3 年 前
コミット
7bc3fff24b
1 ファイル変更4 行追加0 行削除
  1. 4 0
      components/My_Checkbox/index.js

+ 4 - 0
components/My_Checkbox/index.js

@@ -173,6 +173,10 @@ Component({
                     };
                     data.include = include;
                     data.deleteItem = deleteItem;
+                    if (include.length == 0) return wx.showToast({
+                        title: '您还未选择可查看通告的合作伙伴',
+                        icon: "none"
+                    })
                 };
                 this.triggerEvent("saleprodChange", JSON.stringify(data));
             }