fix gov proposal loading issue

This commit is contained in:
liangping
2023-05-14 14:24:07 +08:00
parent f48c9b8a79
commit ef747b2e22
2 changed files with 11 additions and 5 deletions
+2
View File
@@ -23,7 +23,9 @@ export const useGovStore = defineStore('govStore', {
},
actions: {
initial() {
this.$reset()
this.fetchParams();
this.fetchProposals("2");
},
async fetchProposals(status: string, pagination?: PageRequest) {
if (!this.loading[status]) {