Просмотр исходного кода

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

RuoYi лет назад: 4
Родитель
Сommit
c1b223e3a7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ruoyi-ui/src/views/system/user/index.vue

+ 1 - 1
ruoyi-ui/src/views/system/user/index.vue

@@ -663,7 +663,7 @@ export default {
663 663
       this.upload.open = false;
664 664
       this.upload.isUploading = false;
665 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 667
       this.getList();
668 668
     },
669 669
     // 提交上传文件