feat: [Echarts动态排序图] 隐藏“联动设置/跳转设置”入口

This commit is contained in:
ulleo 2023-09-07 16:42:04 +08:00
parent baab79b29d
commit a3799cd568

View File

@ -5,7 +5,7 @@
trigger="click" trigger="click"
@mouseup="handleMouseUp" @mouseup="handleMouseUp"
> >
<slot name="icon"/> <slot name="icon" />
<el-dropdown-menu v-if="curComponent"> <el-dropdown-menu v-if="curComponent">
<el-dropdown-item <el-dropdown-item
v-if="editFilter.includes(curComponent.type)" v-if="editFilter.includes(curComponent.type)"
@ -17,8 +17,7 @@
v-if="curComponent.type != 'custom-button'" v-if="curComponent.type != 'custom-button'"
icon="el-icon-document-copy" icon="el-icon-document-copy"
@click.native="copy" @click.native="copy"
><span>{{ $t('panel.copy') }}&nbsp(<span v-show="systemOS==='Mac'"><i class="icon iconfont icon-command" ><span>{{ $t('panel.copy') }}&nbsp;(<span v-show="systemOS==='Mac'"><i class="icon iconfont icon-command" />+ D</span> <span v-show="systemOS!=='Mac'">Control + D</span>)</span>
/>+ D</span> <span v-show="systemOS!=='Mac'">Control + D</span>)</span>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item <el-dropdown-item
icon="el-icon-delete" icon="el-icon-delete"
@ -34,7 +33,7 @@
<el-dropdown-item v-if="!curComponent.auxiliaryMatrix"> <el-dropdown-item v-if="!curComponent.auxiliaryMatrix">
<el-dropdown placement="right-start"> <el-dropdown placement="right-start">
<span class="el-icon-copy-document"> <span class="el-icon-copy-document">
{{ $t('panel.level') }} <i class="el-icon-arrow-right el-icon--right"/> {{ $t('panel.level') }} <i class="el-icon-arrow-right el-icon--right" />
</span> </span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item <el-dropdown-item
@ -93,13 +92,13 @@
<el-dropdown-item <el-dropdown-item
v-if="curComponent.type != 'custom-button'" v-if="curComponent.type != 'custom-button'"
@click.native="hyperlinksSet" @click.native="hyperlinksSet"
><i class="icon iconfont icon-chaolianjie1"/>{{ $t('panel.hyperlinks') }} ><i class="icon iconfont icon-chaolianjie1" />{{ $t('panel.hyperlinks') }}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item <el-dropdown-item
v-if="curComponent.type !== 'view' && !curComponent.auxiliaryMatrix" v-if="curComponent.type !== 'view' && !curComponent.auxiliaryMatrix"
@click.native="positionAdjust" @click.native="positionAdjust"
> >
<i class="el-icon-map-location"/> <i class="el-icon-map-location" />
{{ $t('panel.position_adjust') }} {{ $t('panel.position_adjust') }}
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
@ -180,7 +179,7 @@ import TabCarouselDialog from '@/components/canvas/components/editor/TabCarousel
import CustomTabsSort from '@/components/widget/deWidget/CustomTabsSort' import CustomTabsSort from '@/components/widget/deWidget/CustomTabsSort'
export default { export default {
components: { CustomTabsSort, HyperlinksDialog,TabCarouselDialog }, components: { CustomTabsSort, HyperlinksDialog, TabCarouselDialog },
data() { data() {
return { return {
tabCarouselVisible: false, tabCarouselVisible: false,
@ -193,7 +192,8 @@ export default {
'text', 'text',
'label', 'label',
'flow-map', 'flow-map',
'bidirectional-bar' 'bidirectional-bar',
'race-bar'
], ],
linkageExcludeViewType: [ linkageExcludeViewType: [
'richTextView', 'richTextView',
@ -202,7 +202,8 @@ export default {
'text', 'text',
'label', 'label',
'flow-map', 'flow-map',
'bidirectional-bar' 'bidirectional-bar',
'race-bar'
], ],
copyData: null, copyData: null,
hyperlinksSetVisible: false, hyperlinksSetVisible: false,