Commit e06eef02 by linjinhong

Merge remote-tracking branch 'origin/dev'

parents 64a41ec5 26074a60
......@@ -687,7 +687,7 @@ onUnmounted(() => {
bottom: 0;
width: 40px;
background: #001529;
z-index: 9999;
z-index: 999;
display: flex;
flex-direction: column;
align-items: center;
......@@ -695,14 +695,14 @@ onUnmounted(() => {
}
::v-deep(.el-drawer.rtl) {
height: 80% !important;
top: 15%;
height: 650px !important;
right: 40px;
top: calc(50% - 325px) !important;
}
::v-deep(.get-logistic-drawer.el-drawer.rtl) {
height: 20% !important;
top: 35% !important;
height: 200px !important;
top: calc(50% - 100px) !important;
}
.tool-item {
......
......@@ -102,6 +102,28 @@ const router = createRouter({
component: UserPage,
},
{
path: '/system/downloadClient',
meta: {
title: '下载生产客户端',
},
component: () => {},
beforeEnter() {
// 假设你的下载链接是这个
const downloadLink = '/exeFiles/JomallProductionAssistantSetup.exe'
// 创建一个 a 标签来触发下载
const a = document.createElement('a')
a.href = downloadLink
a.download = '生产客户端.exe' // 你可以指定文件名,或者保持为空来自动使用原始文件名
// 不显示 a 标签,直接触发下载
a.style.display = 'none'
document.body.appendChild(a)
a.click()
document.body.removeChild(a)
},
},
{
path: '/system/external-authorisation',
meta: {
title: '外部授权',
......
......@@ -176,6 +176,11 @@ const menu: MenuItem[] = [
label: '用户管理',
},
{
index: '/system/downloadClient',
id: 4,
label: '下载生产客户端',
},
{
index: '/system/external-authorisation',
id: 5,
label: '外部授权',
......
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