show whether data is updated after pull down

This commit is contained in:
MaysWind
2023-06-18 22:43:47 +08:00
parent 55ad7b2e81
commit eb2e2b0a26
15 changed files with 102 additions and 17 deletions
+6 -1
View File
@@ -267,13 +267,18 @@ export default {
}
const self = this;
const force = !!done;
self.accountsStore.loadAllAccounts({
force: true
force: force
}).then(() => {
if (done) {
done();
}
if (force) {
self.$toast('Account list has been updated');
}
}).catch(error => {
if (done) {
done();