fix: 样式优化

This commit is contained in:
dataeaseShu 2024-09-26 10:41:08 +08:00
parent 32d8bf517a
commit c05251f662

View File

@ -1777,10 +1777,11 @@ const getDsIconName = data => {
<span class="select-svg-icon">
<el-icon>
<Icon
:className="`field-icon-${
fieldType[[2, 3].includes(scope.row.deType) ? 2 : 0]
}`"
><component
class="svg-icon"
:class="`field-icon-${
fieldType[[2, 3].includes(scope.row.deType) ? 2 : 0]
}`"
:is="iconFieldMap[getIconName(scope.row.deType)]"
></component
></Icon>
@ -1956,10 +1957,11 @@ const getDsIconName = data => {
<span class="select-svg-icon">
<el-icon>
<Icon
:className="`field-icon-${
fieldType[[2, 3].includes(scope.row.deType) ? 2 : 0]
}`"
><component
class="svg-icon"
:class="`field-icon-${
fieldType[[2, 3].includes(scope.row.deType) ? 2 : 0]
}`"
:is="iconFieldMap[getIconName(scope.row.deType)]"
></component
></Icon>