共力人生首页签到功能,GLF收益率数据

This commit is contained in:
唐明明
2022-06-11 11:01:27 +08:00
parent 33e1352965
commit 2b47c91313
25 changed files with 1114 additions and 6327 deletions

View File

@@ -4,21 +4,11 @@ import {
} from 'uni-simple-router';
import store from '@/store/index'
// CALL 页面必须是nvue但是NVUE 不支持webpack的 ROUTES 注入
// https://github.com/SilurianYang/uni-read-pages/issues/20
// #ifdef APP-NVUE
const ROUTES = [{
"path": "/pages/im/private/call"
}];
// #endif
const router = createRouter({
platform: process.env.VUE_APP_PLATFORM,
routes: [...ROUTES]
});
// console.log(...ROUTES)
//全局路由前置守卫
router.beforeEach((to, from, next) => {
if(to.name === 'Auth' && store.getters.getToken != '' && uni.getStorageSync('token') != ''){