mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-04 17:43:09 +08:00
公众号登录调试
This commit is contained in:
@@ -33,7 +33,7 @@ list.forEach((item) => {
|
||||
export function setupRouter() {
|
||||
// #ifdef H5
|
||||
const app = getApp()
|
||||
app.$router.beforeEach((to: any, from: any) => {
|
||||
app.$router.afterEach((to: any, from: any) => {
|
||||
const index = whiteList.findIndex((item) => from.path.includes(item))
|
||||
const userStore = useUserStore()
|
||||
if (index == -1 && !userStore.isLogin) {
|
||||
|
||||
Reference in New Issue
Block a user