Commit 74bf86ab authored by 姬鋆屾's avatar 姬鋆屾
parents a1615182 db41784e
......@@ -1174,7 +1174,7 @@ export default {
dataList = [...dataList, ...data];
this.$app.loading = true;
this.$app.percentage = parseInt((dataList.length / total) * 100);
if (dataList.length >= total || data.data.length == 0) {
if (dataList.length >= total || data.length == 0) {
if (callback) callback(dataList);
this.$app.loading = false;
this.$app.percentage = 1;
......
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