mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
Merge pull request #13637 from dataease/pr@dev-v2@refactor_button
refactor: 修改悬浮按钮提示
This commit is contained in:
commit
693061d2ec
@ -206,7 +206,7 @@
|
||||
<span style="margin-right: 4px"> {{ t('visualization.button_tips') }}</span>
|
||||
<el-tooltip class="item" :effect="toolTip" placement="bottom">
|
||||
<template #content>
|
||||
<div>{{ t('visualization.effective_during_preview') }}</div>
|
||||
<div>{{ t('visualization.effective_during_link') }}</div>
|
||||
</template>
|
||||
<el-icon class="hint-icon" :class="{ 'hint-icon--dark': themes === 'dark' }">
|
||||
<Icon name="icon_info_outlined"><icon_info_outlined class="svg-icon" /></Icon>
|
||||
|
@ -128,7 +128,7 @@ const back2Last = () => {
|
||||
window.location.reload()
|
||||
}
|
||||
const exportPDF = () => {
|
||||
useEmitt().emitter.emit('canvasDownload')
|
||||
useEmitt().emitter.emit('canvasDownload', 'pdf')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
<span style="margin-right: 4px">{{ t('visualization.show_zoom_button') }}</span>
|
||||
<el-tooltip class="item" :effect="themes" placement="bottom">
|
||||
<template #content>
|
||||
<div>{{ t('visualization.effective_during_preview') }}</div>
|
||||
<div>{{ t('visualization.effective_during_link') }}</div>
|
||||
</template>
|
||||
<el-icon class="hint-icon" :class="{ 'hint-icon--dark': themes === 'dark' }">
|
||||
<Icon name="icon_info_outlined"><icon_info_outlined class="svg-icon" /></Icon>
|
||||
|
@ -2657,6 +2657,7 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
|
||||
column_name: 'Field name'
|
||||
},
|
||||
visualization: {
|
||||
effective_during_link: 'Public link active',
|
||||
condition_style_set: 'Condition Style Settings',
|
||||
cell_merge_tips:
|
||||
'After merging cells, row/column freezing and automatic line wrapping will be disabled.',
|
||||
|
@ -608,6 +608,7 @@ export default {
|
||||
secret_length: '密鑰長度'
|
||||
},
|
||||
components: {
|
||||
effective_during_link: '公共連結生效',
|
||||
dashboard_style: '儀表板風格',
|
||||
overall_configuration: '整體配置',
|
||||
dashboard_background: '儀表板背景',
|
||||
|
@ -2597,6 +2597,7 @@ export default {
|
||||
column_name: '字段名称'
|
||||
},
|
||||
visualization: {
|
||||
effective_during_link: '公共链接生效',
|
||||
condition_style_set: '条件样式设置',
|
||||
cell_merge_tips: '合并单元格后,行列冻结、自动换行会失效。',
|
||||
image: '图片',
|
||||
|
@ -168,8 +168,8 @@ const XpackLoaded = () => p(true)
|
||||
onMounted(async () => {
|
||||
useEmitt({
|
||||
name: 'canvasDownload',
|
||||
callback: function () {
|
||||
downloadH2('img')
|
||||
callback: function (type = 'img') {
|
||||
downloadH2(type)
|
||||
}
|
||||
})
|
||||
await new Promise(r => (p = r))
|
||||
|
Loading…
Reference in New Issue
Block a user