Commit c6dbe77a by zhaochengxiang

提示设置最大高度

parent fdb97b7e
......@@ -350,4 +350,9 @@ svg {
.yy-card-head {
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) => {
}
const upload = async (ignoreRepeatPath = false) => {
try {
const row = await form.validateFields();
......@@ -82,7 +83,11 @@ const ImportDirectory = (props) => {
} else {
modal.confirm({
title: '提示',
content: `${data.message||'存在重复路径'},确定导入吗?`,
content: (
<div style={{ maxHeight: '70vh', overflow: 'auto' }}>
{`${data.message||'存在重复路径'},确定导入吗?`}
</div>
),
onOk: () => {
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