Commit 1af06a4e authored by youjie's avatar youjie

no message

parent 45979dd3
......@@ -228,8 +228,10 @@
});
},
async getData() {
uni.showLoading()
let res = await GetOrderPage(data.msg);
if (res) {
uni.hideLoading()
if (data.timer) data.timer = null;
if (data.msg.pageIndex === 1) {
data.orderList = res.Data.PageData;
......
......@@ -237,10 +237,10 @@
});
},
async getData() {
data.loading = true
uni.showLoading()
let res = await GetMyCenterInfo({});
data.loading = false
if (res) {
uni.hideLoading()
data.pageData = res.Data;
}
},
......
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