Merge pull request #12709 from dataease/pr@dev-v2@sytle_change

style: 条件样式调整
This commit is contained in:
王嘉豪 2024-10-15 14:13:19 +08:00 committed by GitHub
commit a34a5a9258
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 5 deletions

View File

@ -49,7 +49,7 @@ const handlePictureCardPreview = file => {
dialogVisible.value = true
}
const handleRemove = (file, fileListArry) => {
const handleRemove = (file, fileListArray) => {
uploadDisabled.value = false
let file_static_part = file.url.split('static-resource/')[1]
let index = element.value.propValue['urlList'].findIndex(

View File

@ -314,10 +314,13 @@ init()
>
<el-icon style="margin-right: 8px">
<Icon
:className="`field-icon-${
fieldType[[2, 3].includes(fieldOption.deType) ? 2 : 0]
}`"
><component :is="iconFieldMap[fieldType[fieldOption.deType]]"></component
><component
:class="`field-icon-${
fieldType[[2, 3].includes(fieldOption.deType) ? 2 : 0]
}`"
class="svg-icon"
:is="iconFieldMap[fieldType[fieldOption.deType]]"
></component
></Icon>
</el-icon>
{{ fieldOption.name }}