Commit 4b29cd82 by qinjianhui

Merge branch 'dev_user_permission' into 'dev'

下载生产客户端不跳转页面,直接下载

See merge request !259
parents b95601a5 cba625e4
...@@ -172,6 +172,8 @@ export function buildDynamicRoutes( ...@@ -172,6 +172,8 @@ export function buildDynamicRoutes(
document.body.appendChild(a) document.body.appendChild(a)
a.click() a.click()
document.body.removeChild(a) document.body.removeChild(a)
// 取消导航,停留在当前页面,只触发下载不出现空白页
return false
}, },
meta: { title: '下载生产客户端' }, meta: { title: '下载生产客户端' },
} as RouteRecordRaw) } as RouteRecordRaw)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment