Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
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
吴迪
gs1
Commits
2ff0e419
Commit
2ff0e419
authored
Oct 19, 2021
by
tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: GS1标准服务提供商医疗行业案例以及完善面包屑报错【100%】
parent
8fd84e42
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
caseHealthcare.vue
src/views/Service/Partners/caseHealthcare.vue
+1
-1
SubNav.vue
src/views/comps/SubNav.vue
+1
-2
breadcrumb.vue
src/views/comps/breadcrumb.vue
+4
-2
No files found.
src/views/Service/Partners/caseHealthcare.vue
View file @
2ff0e419
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
crea
ted
()
{
moun
ted
()
{
// 面包屑单独处理
// 面包屑单独处理
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
{
name
:
"服务中心"
,
path
:
"/Service/BarcodeV"
},
{
name
:
"服务中心"
,
path
:
"/Service/BarcodeV"
},
...
...
src/views/comps/SubNav.vue
View file @
2ff0e419
...
@@ -72,8 +72,7 @@ export default {
...
@@ -72,8 +72,7 @@ export default {
watch
:
{
watch
:
{
subNav
:
{
subNav
:
{
handler
(
val
)
{
handler
(
val
)
{
console
.
log
(
"watch------ subNav"
,
val
);
// console.log("watch------ subNav", val);
const
result
=
this
.
treeFind
(
const
result
=
this
.
treeFind
(
val
,
val
,
(
item
)
=>
item
.
link
===
this
.
$route
.
path
(
item
)
=>
item
.
link
===
this
.
$route
.
path
...
...
src/views/comps/breadcrumb.vue
View file @
2ff0e419
...
@@ -26,11 +26,13 @@ export default {
...
@@ -26,11 +26,13 @@ export default {
computed
:
{
computed
:
{
...
mapState
(
"system"
,
[
"breadcrumb"
]),
...
mapState
(
"system"
,
[
"breadcrumb"
]),
bread
()
{
bread
()
{
if
(
this
.
breadcrumb
&&
this
.
breadcrumb
.
length
>
0
){
const
bread
=
[...
this
.
breadcrumb
];
const
bread
=
[...
this
.
breadcrumb
];
bread
[
bread
.
length
-
1
].
active
=
true
;
bread
[
bread
.
length
-
1
].
active
=
true
;
return
bread
;
return
bread
;
console
.
log
(
1111
)
}
else
{
console
.
log
(
bread
)
return
[]
}
},
},
},
},
};
};
...
...
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