style: update multiplexing

This commit is contained in:
wangjiahao
2025-07-28 17:49:34 +08:00
parent 768fd26ed1
commit 0c6d8850f5
2 changed files with 7 additions and 2 deletions
@@ -12,6 +12,11 @@ const props = defineProps({
required: false,
default: null,
},
showPosition: {
type: String,
required: false,
default: 'default',
},
})
import { computed, nextTick, ref } from 'vue'
@@ -100,7 +105,7 @@ defineExpose({
<div class="title">
{{ viewInfo.chart.title }}
</div>
<div class="buttons-bar">
<div v-if="showPosition === 'multiplexing'" class="buttons-bar">
<div class="chart-select-container">
<el-tooltip effect="dark" :content="t('chat.type')" placement="top">
<ChartPopover
@@ -25,7 +25,7 @@ const curSelectChange = (value: boolean) => {
<template>
<div class="chart-selection-container">
<el-checkbox class="select-area" :value="isSelected" @change="curSelectChange"></el-checkbox>
<SQView :view-info="viewInfo"></SQView>
<SQView :view-info="viewInfo" show-position="multiplexing"></SQView>
</div>
</template>