fix: 隐藏批量设置中无用的设置项 (#18060)

This commit is contained in:
王嘉豪
2026-03-11 11:15:56 +08:00
committed by wangjiahao
parent 2bb3f96632
commit 3da33f2342

View File

@@ -17,7 +17,10 @@ import { cloneDeep, get, set } from 'lodash-es'
import { useEmitt } from '@/hooks/web/useEmitt'
import { getDynamicColorScale } from '@/views/chart/components/js/util'
import CustomSortEdit from '@/views/chart/components/editor/drag-item/components/CustomSortEdit.vue'
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
import { storeToRefs } from 'pinia'
const dvMainStore = dvMainStoreWithOut()
const { batchOptStatus } = storeToRefs(dvMainStore)
const { t } = useI18n()
const props = withDefaults(
@@ -725,7 +728,7 @@ onMounted(() => {
</el-space>
<el-form-item
class="form-item"
v-if="showProperty('legendSort')"
v-if="showProperty('legendSort') && !batchOptStatus"
:class="'form-item-' + themes"
:label="t('chart.legend_sort')"
>