zhengjinyi 3 лет назад
Родитель
Сommit
346eb6e927
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/main/resources/static/js/user-center/collection/collection.js

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

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