修改UA为Quantumult,以获取流量信息等

This commit is contained in:
Peng-YM
2020-08-31 15:50:34 +08:00
parent 00be2678f4
commit d81fd8cb62
3 changed files with 48 additions and 35 deletions

View File

@@ -30,11 +30,16 @@
<script>
import TopToolbar from "@/components/TopToolbar";
import BottomNav from "@/components/BottomNav";
import {showError} from "@/utils";
function initStore(store) {
store.dispatch('FETCH_SUBSCRIPTIONS');
store.dispatch("FETCH_COLLECTIONS");
store.dispatch('FETCH_SUBSCRIPTIONS').catch(() => {
showError(`无法拉取订阅列表!`);
});
store.dispatch("FETCH_COLLECTIONS").catch(() => {
showError(`无法拉取组合订阅列表!`);
});
}
export default {