Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Community-Mining-Admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mining
Community-Mining-Admin
Commits
ac55cebf
Commit
ac55cebf
authored
Dec 22, 2021
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:调整名称
parent
8094ca79
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
12 deletions
+22
-12
.env.development
.env.development
+2
-2
.env.production
.env.production
+3
-2
.env.test
.env.test
+3
-3
index.ts
src/router/index.ts
+5
-5
vue.config.js
vue.config.js
+9
-0
No files found.
.env.development
View file @
ac55cebf
NODE_ENV="development"
NODE_ENV="development"
VUE_APP_URL="http://172.16.100.59:8090"
VUE_APP_URL="http://172.16.100.59:8092"
\ No newline at end of file
\ No newline at end of file
.env.production
View file @
ac55cebf
NODE_ENV="production"
NODE_ENV="production"
VUE_APP_URL="http://47.243.139.223:8000"
VUE_APP_URL="http://47.243.139.223:8000"
\ No newline at end of file
VUE_TITLE="后台系统"
\ No newline at end of file
.env.test
View file @
ac55cebf
NODE_ENV
=
'development'
NODE_ENV
=
'development'
VUE_APP_URL
=
"http://172.16.100.59:8090"
VUE_APP_URL
=
"http://172.16.100.59:8092"
#VUE_APP_URL="http://172.16.100.59:8092"
#VUE_APP_URL="http://172.16.100.59:8090"
\ No newline at end of file
\ No newline at end of file
src/router/index.ts
View file @
ac55cebf
...
@@ -18,27 +18,27 @@ const routes: Array<RouteConfig> = [
...
@@ -18,27 +18,27 @@ const routes: Array<RouteConfig> = [
{
{
path
:
'/info'
,
path
:
'/info'
,
name
:
'info'
,
name
:
'info'
,
component
:
()
=>
import
(
'@/views/
u
ser/Info.vue'
)
component
:
()
=>
import
(
'@/views/
U
ser/Info.vue'
)
},
},
{
{
path
:
'/launch'
,
path
:
'/launch'
,
name
:
'launch'
,
name
:
'launch'
,
component
:
()
=>
import
(
'@/views/
m
ining/Launch.vue'
)
component
:
()
=>
import
(
'@/views/
M
ining/Launch.vue'
)
},
},
{
{
path
:
'/minTicket'
,
path
:
'/minTicket'
,
name
:
'minTicket'
,
name
:
'minTicket'
,
component
:
()
=>
import
(
'@/views/
m
ining/MinTicket.vue'
)
component
:
()
=>
import
(
'@/views/
M
ining/MinTicket.vue'
)
},
},
{
{
path
:
'/add'
,
path
:
'/add'
,
name
:
'add'
,
name
:
'add'
,
component
:
()
=>
import
(
'@/views/
s
etting/Add.vue'
)
component
:
()
=>
import
(
'@/views/
S
etting/Add.vue'
)
},
},
{
{
path
:
'/reset'
,
path
:
'/reset'
,
name
:
'reset'
,
name
:
'reset'
,
component
:
()
=>
import
(
'@/views/
s
etting/Reset.vue'
)
component
:
()
=>
import
(
'@/views/
S
etting/Reset.vue'
)
},
},
]
]
...
...
vue.config.js
View file @
ac55cebf
...
@@ -51,6 +51,15 @@ module.exports = {
...
@@ -51,6 +51,15 @@ module.exports = {
// ]
// ]
// }
// }
// }
// }
chainWebpack
:
config
=>
{
// config.devtool ='source-map';
config
.
plugin
(
'html'
)
.
tap
(
args
=>
{
args
[
0
].
title
=
process
.
env
.
APP_TITLE
return
args
})
}
// pwa: {
// pwa: {
// name: 'My App',
// name: 'My App',
// themeColor: '#4DBA87',
// themeColor: '#4DBA87',
...
...
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