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
f16f3ef7
Commit
f16f3ef7
authored
Sep 29, 2021
by
chenyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修改分割方式
parent
23d02fe6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
selected-tags-list.vue
src/components/selected-tags-list.vue
+1
-1
tag-config-options.vue
src/components/tag/tag-config-options.vue
+1
-1
No files found.
src/components/selected-tags-list.vue
View file @
f16f3ef7
...
...
@@ -39,7 +39,7 @@ export default {
methods
:
{
getTagVal
(
tagData
)
{
const
tag
=
JSON
.
parse
(
tagData
.
tagParams
);
return
tag
.
selectedVal
.
includes
(
'$^'
)?
tag
.
selectedVal
.
replace
(
/
\$\^
/g
,
''
):
tag
.
selectedVal
;
return
tag
.
selectedVal
.
includes
(
'$^'
)?
tag
.
selectedVal
.
replace
(
/
\$\^
/g
,
'
'
):
tag
.
selectedVal
;
}
}
};
...
...
src/components/tag/tag-config-options.vue
View file @
f16f3ef7
...
...
@@ -1929,7 +1929,7 @@ export default {
this
.
cardRadioType
=
tagValue
.
val
[
0
].
data
.
compute
==
'in'
?
1
:
0
;
if
(
this
.
cardRadioType
)
{
// 全部商品不回显tag列表
value
=
tagValue
.
val
[
0
].
data
.
value
.
split
(
' '
);
selectVal
=
tagParams
.
selectedVal
.
split
(
'$^'
)
;
selectVal
=
value
.
length
?(
tagParams
.
selectedVal
.
includes
(
'$^'
)?
tagParams
.
selectedVal
.
split
(
'$^'
):
tagParams
.
selectedVal
.
split
(
' '
)):[]
;
selectVal
.
forEach
((
el
,
ix
)
=>
{
this
.
tagList
.
push
({
cardName
:
el
,
...
...
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