Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
c357651a
Commit
c357651a
authored
Sep 28, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改路由历史记录bug
parent
cc49fe1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
settings.js
src/api/settings.js
+1
-1
routerStorage.js
src/service/routerStorage.js
+2
-0
BusinessQuali.vue
src/views/Introduction/modules/BusinessQuali.vue
+1
-1
No files found.
src/api/settings.js
View file @
c357651a
export
default
{
export
default
{
tel
:
"
010-82194734
"
,
tel
:
"
18701683762
"
,
serviceHours
:
"
9:00-21:00
"
,
serviceHours
:
"
9:00-21:00
"
,
sobot
:
sobot
:
"
https://mangobaoxian.sobot.com/chat/h5/v2/index.html?sysnum=cfe2ac6677f94698be2e2d842f23066d
"
,
"
https://mangobaoxian.sobot.com/chat/h5/v2/index.html?sysnum=cfe2ac6677f94698be2e2d842f23066d
"
,
...
...
src/service/routerStorage.js
View file @
c357651a
...
@@ -2,6 +2,8 @@ import localStorage from "@/service/localStorage";
...
@@ -2,6 +2,8 @@ import localStorage from "@/service/localStorage";
export
function
routerStorage
(
toPath
,
fromPath
)
{
export
function
routerStorage
(
toPath
,
fromPath
)
{
let
storage
=
localStorage
.
get
(
"
history
"
)
||
{
isBack
:
false
,
paths
:
[],
fromPath
:
""
};
let
storage
=
localStorage
.
get
(
"
history
"
)
||
{
isBack
:
false
,
paths
:
[],
fromPath
:
""
};
// 初始化
if
(
fromPath
===
"
/
"
)
storage
.
paths
=
[];
if
(
storage
.
paths
.
includes
(
toPath
))
{
if
(
storage
.
paths
.
includes
(
toPath
))
{
const
toPathIndex
=
storage
.
paths
.
indexOf
(
toPath
);
const
toPathIndex
=
storage
.
paths
.
indexOf
(
toPath
);
storage
=
{
...
storage
,
isBack
:
true
,
fromPath
};
storage
=
{
...
storage
,
isBack
:
true
,
fromPath
};
...
...
src/views/Introduction/modules/BusinessQuali.vue
View file @
c357651a
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<div
class=
"itd-quali-item"
>
<div
class=
"itd-quali-item"
>
<p
class=
"itd-quali-item-title"
>
8. 客服与消费者投诉电话
</p>
<p
class=
"itd-quali-item-title"
>
8. 客服与消费者投诉电话
</p>
<div
class=
"itd-quali-item-content"
>
<div
class=
"itd-quali-item-content"
>
010-82194734
18701683762
</div>
</div>
</div>
</div>
<div
class=
"itd-quali-item"
>
<div
class=
"itd-quali-item"
>
...
...
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