feat: 修改样式
This commit is contained in:
@@ -115,7 +115,6 @@ export default {
|
||||
if (this.tabArr.length > 0) {
|
||||
const sortParams = uni.getStorageSync('sortParams');
|
||||
if (sortParams) {
|
||||
|
||||
const targetIndex = this.tabArr.find(item => item.name === sortParams.value)?.id;
|
||||
uni.removeStorageSync('sortParams');
|
||||
if (targetIndex) {
|
||||
@@ -123,6 +122,9 @@ export default {
|
||||
this.dataList = [];
|
||||
this.downCallback();
|
||||
}
|
||||
} else {
|
||||
|
||||
this.getSearchList()
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -168,6 +170,7 @@ export default {
|
||||
|
||||
searchList(params).then((res) => {
|
||||
let curPageLen = res.data.length;
|
||||
if (page.num === 1) this.dataList = [];
|
||||
this.dataList = this.dataList.concat(res.data);
|
||||
|
||||
this.waterfall();
|
||||
@@ -175,9 +178,7 @@ export default {
|
||||
});
|
||||
},
|
||||
downCallback() {
|
||||
this.$nextTick(function () {
|
||||
this.mescroll && this.mescroll.resetUpScroll();
|
||||
});
|
||||
this.mescroll && this.mescroll.resetUpScroll();
|
||||
},
|
||||
onTab(index) {
|
||||
if (index != this.curTab) {
|
||||
|
||||
Reference in New Issue
Block a user