Browse Source

订单列表-高

dujingxian 4 years ago
parent
commit
46c1bb8cd4
3 changed files with 3 additions and 3 deletions
  1. 1 1
      src/static/common.json
  2. 1 1
      src/views/order/list.vue
  3. 1 1
      src/views/recharge/list.vue

+ 1 - 1
src/static/common.json

@@ -1,3 +1,3 @@
 {
-  "version": "1.4.10"
+  "version": "1.4.11"
 }

+ 1 - 1
src/views/order/list.vue

@@ -377,7 +377,7 @@ import login from "@/store/module/login";
         //     return false;
         // }
         get cHeigth() {
-            if (this.data.list.length) {
+            if (this.data.list.length > 4) {
                 return 'auto'
             } else {
                 return '100%'

+ 1 - 1
src/views/recharge/list.vue

@@ -173,7 +173,7 @@ export default {
   },
   computed: {
     cHeigth() {
-      if (this.list.length) {
+      if (this.list.length > 4) {
         return 'auto'
       } else {
         return '100%'