Merge pull request #12482 from dataease/pr@dev-v2_st

fix: 样式优化
This commit is contained in:
dataeaseShu 2024-09-26 10:41:30 +08:00 committed by GitHub
commit 81bb3801e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>