Explorar o código

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

RuoYi %!s(int64=4) %!d(string=hai) anos
pai
achega
c1b223e3a7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
     // 提交上传文件