Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
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
memberTag
memberTag-web
Commits
c5c4b25b
Commit
c5c4b25b
authored
Apr 28, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复会员标签选择值未显示的bug
parent
ada5ab99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
selected-tags-list.vue
src/components/selected-tags-list.vue
+7
-1
No files found.
src/components/selected-tags-list.vue
View file @
c5c4b25b
...
...
@@ -4,7 +4,7 @@
<ul
class=
"tag-list"
>
<li
class=
"tag-item"
v-for=
"tag in tags"
:key=
"tag.tagId"
>
<span>
{{
tag
.
tagName
}}
</span>
<span
class=
"tags-item__name"
>
【选择:
{{
tag
.
newTagVal
}}
】
</span>
<span
class=
"tags-item__name"
>
【选择:
{{
getTagVal
(
tag
)
}}
】
</span>
</li>
</ul>
<div
v-if=
"(index === 0 && tagsList.length > 1) || (index === 1 && tagsList.length > 2)"
class=
"tag-relation"
>
...
...
@@ -26,6 +26,12 @@ export default {
type
:
Array
,
required
:
true
}
},
methods
:
{
getTagVal
(
tagData
)
{
const
tag
=
JSON
.
parse
(
tagData
.
tagParams
);
return
tag
.
selectedVal
;
}
}
};
</
script
>
...
...
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