Merge pull request #12978 from dataease/pr@dev-v2@style_layer

style(图表): 调整图表边框显示图层
This commit is contained in:
王嘉豪 2024-10-29 17:13:02 +08:00 committed by GitHub
commit e0dd6cfe93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 8 deletions

View File

@ -47,15 +47,15 @@
@mousedown="handleInnerMouseDownOnShape"
>
<Icon v-if="shapeLock" name="dv-lock"><dvLock class="svg-icon iconfont icon-suo" /></Icon>
<div class="component-slot" :style="slotStyle">
<slot></slot>
</div>
<!--边框背景-->
<Board
v-if="svgInnerEnable"
:style="{ color: element.commonBackground.innerImageColor }"
:name="commonBackgroundSvgInner"
></Board>
<div class="component-slot" :style="slotStyle">
<slot></slot>
</div>
</div>
<div
v-for="item in isActive() ? getPointList() : []"

View File

@ -62,11 +62,13 @@ const handleRemove = (file, fileListArray) => {
snapshotStore.recordSnapshotCache()
}
async function upload(file) {
uploadFileResult(file.file, fileUrl => {
snapshotStore.recordSnapshotCache()
element.value.propValue.urlList.unshift({ name: file.file.name, url: fileUrl })
useEmitt().emitter.emit('calcData-' + element.value.id)
})
if (element.value.propValue.urlList.length < 10) {
uploadFileResult(file.file, fileUrl => {
snapshotStore.recordSnapshotCache()
element.value.propValue.urlList.unshift({ name: file.file.name, url: fileUrl })
useEmitt().emitter.emit('calcData-' + element.value.id)
})
}
}
const onStyleChange = () => {