|
|
@@ -66,7 +66,7 @@ Component({
|
|
|
},
|
|
|
getList(init = false) {
|
|
|
if (init.detail != undefined) init = init.detail;
|
|
|
- let content = this.data.content;
|
|
|
+ let content = JSON.parse(JSON.stringify(this.data.content));
|
|
|
if (init) {
|
|
|
content.pageNumber = 1;
|
|
|
content.pageTotal = 1;
|
|
|
@@ -82,6 +82,7 @@ Component({
|
|
|
content
|
|
|
}).then(res => {
|
|
|
console.log(content.dataType + "项目", res)
|
|
|
+ if (this.data.content.dataType != content.dataType) return;
|
|
|
this.selectComponent("#ListBox").setHeight(".head", this);
|
|
|
this.selectComponent('#ListBox').RefreshToComplete();
|
|
|
if (res.msg != '成功') return wx.showToast({
|