作者 RuoYi

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

@@ -663,7 +663,7 @@ export default { @@ -663,7 +663,7 @@ export default {
663 this.upload.open = false; 663 this.upload.open = false;
664 this.upload.isUploading = false; 664 this.upload.isUploading = false;
665 this.$refs.upload.clearFiles(); 665 this.$refs.upload.clearFiles();
666 - this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true }); 666 + this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
667 this.getList(); 667 this.getList();
668 }, 668 },
669 // 提交上传文件 669 // 提交上传文件