fix the problem that page jump infinitely

This commit is contained in:
MaysWind
2023-04-21 23:53:43 +08:00
parent e013a6f087
commit 9770851fd4
+2
View File
@@ -289,6 +289,7 @@ export default {
created() { created() {
const self = this; const self = this;
if (self.$user.isUserLogined() && self.$user.isUserUnlocked()) {
self.loading = true; self.loading = true;
self.$store.dispatch('loadTransactionOverview', { self.$store.dispatch('loadTransactionOverview', {
@@ -304,6 +305,7 @@ export default {
self.$toast(error.message || error); self.$toast(error.message || error);
} }
}); });
}
}, },
methods: { methods: {
onPageAfterIn() { onPageAfterIn() {