perf: 优化工具栏展示方式

This commit is contained in:
奔跑的面条
2022-09-17 22:40:24 +08:00
parent 924a173d6b
commit 4141d00409
5 changed files with 85 additions and 42 deletions
+7
View File
@@ -115,6 +115,13 @@ const list = reactive<ListType[]>([
desc: '',
value: ''
},
{
key: SettingStoreEnums.CHART_TOOLS_STATUS_HIDE,
value: settingStore.getChartToolsStatusHide,
type: 'switch',
name: '隐藏工具栏',
desc: '鼠标移入时,会展示切换到展开模式',
},
{
key: SettingStoreEnums.CHART_TOOLS_STATUS,
value: settingStore.getChartToolsStatus,