|
@@ -43,7 +43,7 @@ Page({
|
|
|
let data = e.detail;
|
|
|
that.setData({ 'tabs.active': data.active })
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 图片预览
|
|
|
imgView: function (e) {
|
|
|
const that = this;
|
|
@@ -90,7 +90,7 @@ Page({
|
|
|
const that = this;
|
|
|
let list = that.data.list;
|
|
|
let limit = that.data.limit;
|
|
|
- if (that.data.total > list.length) {
|
|
|
+ if (that.data.total > list && list.length) {
|
|
|
wx.showLoading({ title: '加载中', mask: true })
|
|
|
let page = that.data.page + 1;
|
|
|
that.setData({ page: page })
|