fix(系统设置): 图表的标题较长时,导出成功提示显示异常

This commit is contained in:
dataeaseShu 2024-07-01 15:14:56 +08:00
parent 2c3a93dd2c
commit b60489fd7c
2 changed files with 17 additions and 6 deletions

View File

@ -375,7 +375,7 @@ em {
} }
.color-dataV { .color-dataV {
background: rgb(0, 214, 185)!important; background: rgb(0, 214, 185) !important;
} }
.color-dataset { .color-dataset {
@ -426,7 +426,11 @@ strong {
color: #1f2329; color: #1f2329;
display: flex; display: flex;
align-items: center; align-items: center;
padding-right: 20px; padding-right: 24px;
}
.m50-export {
max-width: 200px;
} }
.btn-text { .btn-text {
@ -498,9 +502,9 @@ strong {
// 解决screenfull全屏时 部分嵌入到body中的组件如 下来框 消息通知框等)被覆盖问题 // 解决screenfull全屏时 部分嵌入到body中的组件如 下来框 消息通知框等)被覆盖问题
// 这里使用的方案为直接将body全屏 区间组件覆盖整个body // 这里使用的方案为直接将body全屏 区间组件覆盖整个body
.de-screen-full{ .de-screen-full {
position:fixed !important; position: fixed !important;
z-index:200; z-index: 200;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;

View File

@ -174,7 +174,14 @@ const openMessageLoading = (text, type = 'success', cb) => {
const customClass = `de-message-${type || 'success'} de-message-export` const customClass = `de-message-${type || 'success'} de-message-export`
ElMessage({ ElMessage({
message: h('p', null, [ message: h('p', null, [
t(text), h(
'span',
{
title: t(text),
class: 'ellipsis m50-export'
},
t(text)
),
h( h(
ElButton, ElButton,
{ {