fix user can pull to refresh when enable sort mode

This commit is contained in:
MaysWind
2020-12-05 22:51:15 +08:00
parent 141e72b52a
commit cc1ab52bd1
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -351,6 +351,11 @@ export default {
} }
}, },
reload(done) { reload(done) {
if (this.sortable) {
done();
return;
}
const self = this; const self = this;
self.$services.getAllAccounts().then(response => { self.$services.getAllAccounts().then(response => {
+5
View File
@@ -202,6 +202,11 @@ export default {
} }
}, },
reload(done) { reload(done) {
if (this.sortable) {
done();
return;
}
const self = this; const self = this;
self.$services.getAllTransactionCategories({ self.$services.getAllTransactionCategories({