添加进入管理员页面按钮和进入管理员页面必须指定id
This commit is contained in:
@@ -145,7 +145,7 @@ router.beforeEach((to, from, next) => {
|
||||
let token = getCookie("token");
|
||||
let isMurmur = JSON.parse(getIsMurmur)
|
||||
let routeList = ['/testClickData','/trialApproval']//指定页面需要指定id才能进入
|
||||
let userIdList = [83,88,6,87]
|
||||
let userIdList = [88,6,46,31,73,83,87]
|
||||
const routeExists = router.getRoutes().some(({ name }) =>{
|
||||
if(name){
|
||||
return name === to.name
|
||||
|
||||
Reference in New Issue
Block a user