用户导入提示溢出则显示滚动条

This commit is contained in:
RuoYi 2021-12-15 14:43:02 +08:00
parent 674a483ae7
commit b6744f8f99
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ const handleFileSuccess = (response, file, fileList) => {
upload.open = false;
upload.isUploading = false;
proxy.$refs["uploadRef"].clearFiles();
proxy.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
proxy.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
getList();
};
/** 提交上传文件 */