优化订单页面
This commit is contained in:
parent
fd9e0173c1
commit
a66bc6a6ce
|
@ -208,6 +208,7 @@ export default {
|
||||||
})
|
})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
this.$utils.toast(response.msg).then(() => {
|
this.$utils.toast(response.msg).then(() => {
|
||||||
|
this.$store.commit("system/refreshOrder", true);
|
||||||
this.loadDetail();
|
this.loadDetail();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
@ -243,6 +244,7 @@ export default {
|
||||||
* 刷新页面
|
* 刷新页面
|
||||||
*/
|
*/
|
||||||
refresh() {
|
refresh() {
|
||||||
|
this.$store.commit("system/refreshOrder", true);
|
||||||
this.loadDetail();
|
this.loadDetail();
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -139,6 +139,9 @@ export default {
|
||||||
currentTab.page = 1;
|
currentTab.page = 1;
|
||||||
currentTab.more = true;
|
currentTab.more = true;
|
||||||
currentTab.list = [];
|
currentTab.list = [];
|
||||||
|
uni.pageScrollTo({
|
||||||
|
scrollTop: 0,
|
||||||
|
});
|
||||||
this.loadData();
|
this.loadData();
|
||||||
},
|
},
|
||||||
setTabHeight() {
|
setTabHeight() {
|
||||||
|
|
Loading…
Reference in New Issue