Commit c6dbe77a by zhaochengxiang

提示设置最大高度

parent fdb97b7e
...@@ -351,3 +351,8 @@ svg { ...@@ -351,3 +351,8 @@ svg {
.yy-card-head { .yy-card-head {
min-height: 40px !important; min-height: 40px !important;
} }
.yy-notification-notice-description {
max-height: 70vh;
overflow: auto;
}
\ No newline at end of file
...@@ -45,6 +45,7 @@ const ImportDirectory = (props) => { ...@@ -45,6 +45,7 @@ const ImportDirectory = (props) => {
} }
const upload = async (ignoreRepeatPath = false) => { const upload = async (ignoreRepeatPath = false) => {
try { try {
const row = await form.validateFields(); const row = await form.validateFields();
...@@ -82,7 +83,11 @@ const ImportDirectory = (props) => { ...@@ -82,7 +83,11 @@ const ImportDirectory = (props) => {
} else { } else {
modal.confirm({ modal.confirm({
title: '提示', title: '提示',
content: `${data.message||'存在重复路径'},确定导入吗?`, content: (
<div style={{ maxHeight: '70vh', overflow: 'auto' }}>
{`${data.message||'存在重复路径'},确定导入吗?`}
</div>
),
onOk: () => { onOk: () => {
upload(true); upload(true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment