优化订单页面

This commit is contained in:
TOP糯米 2023-03-30 22:01:11 +08:00
parent fd9e0173c1
commit a66bc6a6ce
2 changed files with 5 additions and 0 deletions

View File

@ -208,6 +208,7 @@ export default {
})
.then((response) => {
this.$utils.toast(response.msg).then(() => {
this.$store.commit("system/refreshOrder", true);
this.loadDetail();
});
})
@ -243,6 +244,7 @@ export default {
* 刷新页面
*/
refresh() {
this.$store.commit("system/refreshOrder", true);
this.loadDetail();
},
/**

View File

@ -139,6 +139,9 @@ export default {
currentTab.page = 1;
currentTab.more = true;
currentTab.list = [];
uni.pageScrollTo({
scrollTop: 0,
});
this.loadData();
},
setTabHeight() {