浏览代码

订单列表-高

dujingxian 4 年之前
父节点
当前提交
46c1bb8cd4
共有 3 个文件被更改,包括 3 次插入3 次删除
  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%'