优化:调整异常页面提示文案
This commit is contained in:
@ -19,8 +19,7 @@ public class OtherFilePreviewImpl implements FilePreview {
|
|||||||
@Override
|
@Override
|
||||||
public String filePreviewHandle(String url, Model model, FileAttribute fileAttribute) {
|
public String filePreviewHandle(String url, Model model, FileAttribute fileAttribute) {
|
||||||
model.addAttribute("fileType",fileAttribute.getSuffix());
|
model.addAttribute("fileType",fileAttribute.getSuffix());
|
||||||
model.addAttribute("msg", "系统还不支持该格式文件的在线预览," +
|
model.addAttribute("msg", "系统还不支持该格式文件的在线预览");
|
||||||
"如有需要请按下方显示的邮箱地址联系系统维护人员");
|
|
||||||
return "fileNotSupported";
|
return "fileNotSupported";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
<span>
|
<span>
|
||||||
该文件类型(${fileType})系统暂时不支持在线预览,<b>说明</b>:
|
该文件类型(${fileType})系统暂时不支持在线预览,<b>说明</b>:
|
||||||
<p style="color: red;">${msg}</p>
|
<p style="color: red;">${msg}</p>
|
||||||
如有需要请联系<a href="mailto:1210893441@qq.com">@HappyPig</a>
|
有任何疑问,请加 <a href="https://jq.qq.com/?_wv=1027&k=5c0UAtu">官方QQ群:613025121</a> 咨询
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user