|
|
@ -947,7 +947,8 @@ router.beforeEach((to, from, next) => { |
|
|
|
// 添加动态(菜单)路由
|
|
|
|
// 已添加或者当前路由为页面路由, 可直接访问
|
|
|
|
let toUrl = to.meta.iframeURL |
|
|
|
if (toUrl && toUrl.indexOf("target=_blank") != -1) { |
|
|
|
console.log("=====", toUrl) |
|
|
|
if (toUrl && toUrl.indexOf("ticket=") != -1) { |
|
|
|
// 此处请求后端,获取一个ticket票据
|
|
|
|
http.get("/auth/sso/getTicket") |
|
|
|
.then(({data: res}) => { |
|
|
|