feat: chart - pie-table 添加右上角的下拉
This commit is contained in:
@@ -42,7 +42,21 @@
|
|||||||
:style="computePosition"
|
:style="computePosition"
|
||||||
:chartInfo="chartInfo"
|
:chartInfo="chartInfo"
|
||||||
>
|
>
|
||||||
<template #title v-if="layout.indexOf(layoutConstant.HEADER) > -1">{{chartInfo.i18n ? $t(chartInfo.i18n) : chartInfo.name}}</template>
|
<template #title v-if="layout.indexOf(layoutConstant.HEADER) > -1">
|
||||||
|
{{chartInfo.i18n ? $t(chartInfo.i18n) : chartInfo.name}}
|
||||||
|
<span v-if="isEchartsWithTable">
|
||||||
|
<el-select
|
||||||
|
size="mini"
|
||||||
|
v-model="table.limit"
|
||||||
|
class="option__select select-topn"
|
||||||
|
placeholder=""
|
||||||
|
popper-class="option-popper"
|
||||||
|
>
|
||||||
|
<el-option v-for="item in chartTableTopOptions" :key="item" :value="item">TOP {{item}}</el-option>
|
||||||
|
<template #prefix>TOP </template>
|
||||||
|
</el-select>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
<template #operations v-if="layout.indexOf(layoutConstant.HEADER) > -1">
|
<template #operations v-if="layout.indexOf(layoutConstant.HEADER) > -1">
|
||||||
<i class="cn-icon cn-icon-more-light"></i>
|
<i class="cn-icon cn-icon-more-light"></i>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user