Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
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
shenshaokai
jinfa-admin
Commits
6153b598
Commit
6153b598
authored
Mar 16, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 商品名称出现html标签的问题
parent
f70b86d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
column.tsx
...gPanel/propsSettings/components/banner/contant/column.tsx
+8
-2
column.tsx
...Panel/propsSettings/components/quality/contant/column.tsx
+8
-2
column.tsx
...anel/propsSettings/components/showCase/contant/column.tsx
+8
-2
No files found.
src/pages/pageCustomized/mobileSettingPanel/propsSettings/components/banner/contant/column.tsx
View file @
6153b598
...
...
@@ -21,14 +21,18 @@ export const promptCommodityColumn = [
dataIndex
:
"name"
,
width
:
300
,
ellipsis
:
true
,
// eslint-disable-next-line react/display-name
render
:
(
name
:
any
)
=>
<
div
dangerouslySetInnerHTML=
{
{
__html
:
name
}
}
></
div
>
},
{
title
:
"品类"
,
// render: (_, record) => record.customerCategory.name
ellipsis
:
true
,
render
:
(
_
,
record
)
=>
record
.
customerCategory
?
record
.
customerCategory
.
name
:
""
},
{
title
:
"品牌"
,
// render: (_, record) => record.brand.name
ellipsis
:
true
,
render
:
(
_
,
record
)
=>
record
.
brand
?
record
.
brand
.
name
:
""
},
{
title
:
"价格"
,
...
...
@@ -50,6 +54,8 @@ export const integralCommodityColumn = [
dataIndex
:
"name"
,
width
:
300
,
ellipsis
:
true
,
// eslint-disable-next-line react/display-name
render
:
(
name
:
any
)
=>
<
div
dangerouslySetInnerHTML=
{
{
__html
:
name
}
}
></
div
>
},
{
title
:
"需要积分"
,
...
...
src/pages/pageCustomized/mobileSettingPanel/propsSettings/components/quality/contant/column.tsx
View file @
6153b598
...
...
@@ -21,14 +21,18 @@ export const promptCommodityColumn = [
dataIndex
:
"name"
,
width
:
300
,
ellipsis
:
true
,
// eslint-disable-next-line react/display-name
render
:
(
name
:
any
)
=>
<
div
dangerouslySetInnerHTML=
{
{
__html
:
name
}
}
></
div
>
},
{
title
:
"品类"
,
// render: (_, record) => record.customerCategory.name
ellipsis
:
true
,
render
:
(
_
,
record
)
=>
record
.
customerCategory
?
record
.
customerCategory
.
name
:
""
},
{
title
:
"品牌"
,
// render: (_, record) => record.brand.name
ellipsis
:
true
,
render
:
(
_
,
record
)
=>
record
.
brand
?
record
.
brand
.
name
:
""
},
{
title
:
"价格"
,
...
...
@@ -50,6 +54,8 @@ export const integralCommodityColumn = [
dataIndex
:
"name"
,
width
:
300
,
ellipsis
:
true
,
// eslint-disable-next-line react/display-name
render
:
(
name
:
any
)
=>
<
div
dangerouslySetInnerHTML=
{
{
__html
:
name
}
}
></
div
>
},
{
title
:
"需要积分"
,
...
...
src/pages/pageCustomized/mobileSettingPanel/propsSettings/components/showCase/contant/column.tsx
View file @
6153b598
...
...
@@ -21,14 +21,18 @@ export const promptCommodityColumn = [
dataIndex
:
"name"
,
width
:
300
,
ellipsis
:
true
,
// eslint-disable-next-line react/display-name
render
:
(
name
:
any
)
=>
<
div
dangerouslySetInnerHTML=
{
{
__html
:
name
}
}
></
div
>
},
{
title
:
"品类"
,
// render: (_, record) => record.customerCategory.name
ellipsis
:
true
,
render
:
(
_
,
record
)
=>
record
.
customerCategory
?
record
.
customerCategory
.
name
:
""
},
{
title
:
"品牌"
,
// render: (_, record) => record.brand.name
ellipsis
:
true
,
render
:
(
_
,
record
)
=>
record
.
brand
?
record
.
brand
.
name
:
""
},
{
title
:
"价格"
,
...
...
@@ -50,6 +54,8 @@ export const integralCommodityColumn = [
dataIndex
:
"name"
,
width
:
300
,
ellipsis
:
true
,
// eslint-disable-next-line react/display-name
render
:
(
name
:
any
)
=>
<
div
dangerouslySetInnerHTML=
{
{
__html
:
name
}
}
></
div
>
},
{
title
:
"需要积分"
,
...
...
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