Commit 2fa9322a authored by lvtz's avatar lvtz

fix 主题列表展示

parent 151e6ab9
......@@ -276,7 +276,7 @@ Page({
this.setData({
mixedthemeList: data.list || []
}, () => {
if (this.data.mixedthemeTotal > this.data.mixedthemeList) {
if (this.data.mixedthemeTotal > this.data.mixedthemeList.length) {
let page = this.data.page + 1;
this.setData({
page,
......@@ -292,7 +292,7 @@ Page({
this.setData({
mixedthemeList: data.list || []
}, () => {
if (this.data.mixedthemeTotal > this.data.mixedthemeList) {
if (this.data.mixedthemeTotal > this.data.mixedthemeList.length) {
let page = this.data.page + 1;
this.setData({
page,
......@@ -312,7 +312,7 @@ Page({
mixedthemeList: _list
// [`mixedthemeList[${this.data.page - 1}]`]: data.list
}, () => {
if (this.data.mixedthemeTotal > this.data.mixedthemeList) {
if (this.data.mixedthemeTotal > this.data.mixedthemeList.length) {
let page = this.data.page + 1;
this.setData({
page,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment