Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
379055d1
Commit
379055d1
authored
Dec 09, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页返回修改
parent
a7c9dc51
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
Doctor.vue
src/doctor/Doctor.vue
+1
-1
DocNavBar.vue
src/doctor/components/docNavBar/DocNavBar.vue
+9
-1
No files found.
src/doctor/Doctor.vue
View file @
379055d1
...
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
c652136f-6159-4383-860c-f6693d4857d7
'
token
=
'
b4d10be3-b4f3-4911-a1b3-d95e0491ce95
'
}
}
if
(
token
)
{
...
...
src/doctor/components/docNavBar/DocNavBar.vue
View file @
379055d1
...
...
@@ -19,13 +19,21 @@
</
template
>
<
script
>
import
{
backHome
}
from
'@/utils/common.js'
export
default
{
name
:
'DocNavBar'
,
props
:
{
title
:
String
title
:
String
,
// 是否首页
home
:
Boolean
},
methods
:
{
goBack
()
{
if
(
this
.
home
)
{
backHome
()
return
}
this
.
$router
.
back
()
}
}
...
...
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