소스 검색

商品收藏

zhengjinyi 3 년 전
부모
커밋
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;