Parcourir la source

修复实物收发卡页面不显示问题

hill.liu il y a 4 mois
Parent
commit
eb57199eb1

+ 1 - 1
src/views/workshop/baseInfo/shopWare1.vue

@@ -205,7 +205,7 @@ export default {
           })
         }
         this.total = retObj.total
-        if (retObj.pages > 1) {
+        if (retObj.pages > 0) {
           this.page++
           this.visibleCount += 10
         } else {

+ 2 - 2
src/views/workshop/baseInfo/shopWare2.vue

@@ -136,7 +136,7 @@ export default {
       title: '滚动到底部加载更多',
       page: 1,
       rows: 10,
-      visibleCount: 10, // 显示条数
+      visibleCount: 0, // 显示条数
       total: 0, // 总条数
       securities: '',
       securitiesId: '',
@@ -194,7 +194,7 @@ export default {
           })
         }
         this.total = retObj.total
-        if (retObj.pages > 1) {
+        if (retObj.pages >0) {
           this.page++
           this.visibleCount += 10
         } else {

+ 1 - 1
src/views/workshop/baseInfo/ware1.vue

@@ -189,7 +189,7 @@ export default {
           })
         }
         this.total = retObj.total
-        if (retObj.pages > 1) {
+        if (retObj.pages > 0) {
           this.page++
           this.visibleCount += 10
         } else {