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

@ -426,7 +426,11 @@ strong {
color: #1f2329;
display: flex;
align-items: center;
padding-right: 20px;
padding-right: 24px;
}
.m50-export {
max-width: 200px;
}
.btn-text {

View File

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