修复Base64预处理器未能正确处理某些订阅的问题

This commit is contained in:
Peng-YM
2020-12-16 17:21:57 +08:00
parent b5d78225d2
commit 3f3f9af66a
4 changed files with 15 additions and 11 deletions

View File

@@ -108,12 +108,9 @@ export default {
}
},
methods: {
refresh() {
axios.post(`/utils/refresh`, {url: this.sub}).then(() => {
this.fetch();
}).catch(err => {
this.$store.commit("SET_ERROR_MESSAGE", err.response.data.message);
})
async refresh() {
await axios.post(`/utils/refresh`, {url: this.sub});
await this.fetch();
},
async fetch() {