Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
26074a60
Commit
26074a60
authored
Aug 08, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加生产客户端
parent
4f04a79b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
+27
-0
public/exeFiles/JomallProductionAssistantSetup.exe
+0
-0
src/router/index.ts
+22
-0
src/router/menu.ts
+5
-0
No files found.
public/exeFiles/JomallProductionAssistantSetup.exe
0 → 100644
View file @
26074a60
File added
src/router/index.ts
View file @
26074a60
...
@@ -102,6 +102,28 @@ const router = createRouter({
...
@@ -102,6 +102,28 @@ const router = createRouter({
component
:
UserPage
,
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'
,
path
:
'/system/external-authorisation'
,
meta
:
{
meta
:
{
title
:
'外部授权'
,
title
:
'外部授权'
,
...
...
src/router/menu.ts
View file @
26074a60
...
@@ -176,6 +176,11 @@ const menu: MenuItem[] = [
...
@@ -176,6 +176,11 @@ const menu: MenuItem[] = [
label
:
'用户管理'
,
label
:
'用户管理'
,
},
},
{
{
index
:
'/system/downloadClient'
,
id
:
4
,
label
:
'下载生产客户端'
,
},
{
index
:
'/system/external-authorisation'
,
index
:
'/system/external-authorisation'
,
id
:
5
,
id
:
5
,
label
:
'外部授权'
,
label
:
'外部授权'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment