Commit cba625e4 by wuqian

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

parent b95601a5
......@@ -172,6 +172,8 @@ export function buildDynamicRoutes(
document.body.appendChild(a)
a.click()
document.body.removeChild(a)
// 取消导航,停留在当前页面,只触发下载不出现空白页
return false
},
meta: { title: '下载生产客户端' },
} 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