Merge pull request #7770 from dataease/pr@dev-v2@refactor_batch-opt

refactor: 批量操作优化
This commit is contained in:
王嘉豪 2024-01-23 16:01:18 +08:00 committed by GitHub
commit 1e9d8b26ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -569,7 +569,10 @@ export const dvMainStore = defineStore('dataVisualization', {
mixPropertiesTemp = deepCopy(componentInfo.properties)
mixPropertyInnerTemp = deepCopy(componentInfo.propertyInner)
}
batchAttachInfo.type = componentInfo.value
batchAttachInfo.type =
batchAttachInfo.type === null || batchAttachInfo.type === componentInfo.value
? componentInfo.value
: 'mix'
}
mixPropertiesTemp.forEach(property => {
if (mixPropertyInnerTemp[property]) {

View File

@ -271,7 +271,7 @@ watch(
</collapse-switch-item>
<el-collapse-item
:effect="themes"
v-if="showProperties('misc-selector')"
v-if="showProperties('misc-selector') && !chart.type.includes('mix')"
name="size"
title="大小"
>

View File

@ -210,7 +210,6 @@ onMounted(() => {
:model="state.labelForm"
label-position="top"
>
<el-row v-if="batchOptStatus" style="margin-bottom: 12px"> 无其他公共属性 </el-row>
<el-space>
<el-form-item
class="form-item"