Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
416a900a
Commit
416a900a
authored
Nov 07, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复线路选择不显示特性
parent
784239bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
index.vue
src/components/RoutersSelector/index.vue
+6
-2
No files found.
src/components/RoutersSelector/index.vue
View file @
416a900a
...
...
@@ -57,7 +57,11 @@
</el-table-column>
<el-table-column
v-if=
"showAttr"
:label=
"$t('商品特性')"
prop=
"startTitleZh"
>
<
template
slot-scope=
"{row}"
>
{{
getAttrNames
(
row
.
attrId
)
}}
<!--
{{
getAttrNames
(
row
.
attrId
)
}}
-->
<template
v-if=
"row.channel && row.channel.attrNameList"
>
{{
row
.
channel
.
attrNameList
.
join
(
'
,
'
)
}}
</
template
>
</template>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
prop=
""
>
...
...
@@ -182,7 +186,7 @@ export default {
// 显示产品特性
getAttrName
(){
return
(
id
)
=>
{
let
item
=
this
.
attrList
.
find
(
item
=>
item
.
id
==
id
)
let
item
=
this
.
attrList
.
find
(
item
=>
item
.
id
==
=
+
id
)
if
(
!
item
)
return
''
return
this
.
$l
(
item
,
'
attrName
'
)
}
...
...
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