Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
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
yanyanhong
traceSourceMb
Commits
01908bdd
Commit
01908bdd
authored
Aug 05, 2020
by
yyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后端地址修改
parent
a547ba74
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
.env.development
.env.development
+2
-1
.env.production
.env.production
+2
-1
.env.test
.env.test
+2
-1
Index.vue
src/views/userCenter/Index.vue
+8
-0
No files found.
.env.development
View file @
01908bdd
VUE_APP_SERVER=http://
fd.33.cn:1294
/api
VUE_APP_SERVER=http://
118.89.159.234:46789
/api
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
.env.production
View file @
01908bdd
VUE_APP_SERVER=http://
fd.33.cn:1294
/api
VUE_APP_SERVER=http://
118.89.159.234:46789
/api
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
.env.test
View file @
01908bdd
NODE_ENV
=
development
VUE_APP_SERVER
=
http
://
fd
.
33.
cn
:
1294
/
api
VUE_APP_SERVER
=
http
://
118.89
.
159.234
:
46789
/
api
VUE_APP_BROWSER
=
http
://
47.114
.
159.142
:
9033
\ No newline at end of file
src/views/userCenter/Index.vue
View file @
01908bdd
...
...
@@ -116,6 +116,14 @@ export default class Index extends Vue {
}
}
private
go
(
routerName
:
any
)
{
if
(
!
this
.
isLogin
)
{
return
this
.
$router
.
replace
({
name
:
'Login'
,
query
:
{
redirect
:
this
.
$router
.
currentRoute
.
fullPath
,
},
});
}
this
.
$router
.
push
({
name
:
routerName
});
}
private
toLogin
()
{
...
...
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