Commit 6ebb11de authored by 英思-陈欢's avatar 英思-陈欢

加载优化

parent b2b00b43
......@@ -118,6 +118,7 @@
}
})
}
}).finally(() => {
xma.hideLoading()
})
},
......
......@@ -88,6 +88,7 @@
this.list = res.list;
}
this.total = res.totalCount;
}).finally(() => {
xma.hideLoading()
this.showLoading = false
})
......
......@@ -134,6 +134,7 @@
this.list = res.list;
}
this.total = res.totalCount;
}).finally(() => {
xma.hideLoading()
this.showLoading = false
})
......
......@@ -166,6 +166,7 @@
})
this.list = res;
}
}).finally(() => {
xma.hideLoading()
})
},
......
......@@ -61,6 +61,7 @@
this.list = res.list;
}
this.total = res.totalCount;
}).finally(() => {
xma.hideLoading()
this.showLoading = false
})
......
......@@ -125,6 +125,7 @@
this.list = res.list;
}
this.total = res.totalCount;
}).finally(() => {
xma.hideLoading()
this.showLoading = false
})
......
......@@ -84,6 +84,7 @@
this.list = res.list;
}
this.total = res.totalCount;
}).finally(() => {
xma.hideLoading()
this.showLoading = false
})
......
......@@ -78,6 +78,7 @@
}
})
}
}).finally(() => {
xma.hideLoading()
})
},
......
......@@ -127,6 +127,7 @@
}
})
}
}).finally(() => {
xma.hideLoading()
})
},
......
......@@ -122,6 +122,7 @@ export default Vue.extend({
}
})
}
}).finally(() => {
xma.hideLoading()
})
}
......
......@@ -103,6 +103,7 @@
this.list = res.list;
}
this.total = res.totalCount;
}).finally(() => {
xma.hideLoading()
this.showLoading = false
})
......
......@@ -195,6 +195,7 @@
}
})
}
}).finally(() => {
xma.hideLoading()
})
}
......
......@@ -90,6 +90,7 @@
this.list = res.list;
}
this.total = res.totalCount;
}).finally(() => {
xma.hideLoading()
this.showLoading = false
})
......
......@@ -153,6 +153,7 @@
}
})
}
}).finally(() => {
xma.hideLoading()
})
},
......
......@@ -55,7 +55,12 @@ class Request {
title: '温馨提示',
content: result.data ? (result.data.msg == '失败' ? '暂无数据' : result.data.msg) : result.msg ? (result.msg == '失败' ? '暂无数据' : result.msg) : JSON.stringify(result),
showCancel: false,
confirmText: '关闭'
confirmText: '关闭',
success: () => {
xma.navigateBack({
delta: 1
})
}
})
reject(responseOnRejected?.(result.data.msg) || result.data.msgs);
}
......
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