Browse Source

商品收藏

zhengjinyi 3 years ago
parent
commit
346eb6e927

+ 3 - 1
src/main/resources/static/js/user-center/collection/collection.js

@@ -267,7 +267,9 @@ var orderPage = new Vue({
             }
             }
         },
         },
         showHandle:function () {// 显示批量操作
         showHandle:function () {// 显示批量操作
-            this.isHandle = true;
+            if(this.listData.length>0){
+                this.isHandle = true;
+            }
         },
         },
         hideHandle:function () {
         hideHandle:function () {
             this.isHandle = false;
             this.isHandle = false;