修复图片404

master
星期八 5 years ago
parent 6106d7e076
commit 8c7845459c
  1. 13
      src/main/webapp/WEB-INF/views/jsp/cms/main/head.jsp

@ -7,6 +7,14 @@
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../common/import-tag.jsp" %>
<script type="text/javascript">
function userImageError(imager) {
// imager.style.display = 'none';
imager.setAttribute("src", "${ctx}/resources/aceAdmin/assets/avatars/user.jpg");
// imager.style.display = 'block';
}
</script>
<div class="navbar navbar-default" id="navbar">
<script type="text/javascript">
try{ace.settings.check('navbar' , 'fixed')}catch(e){}
@ -288,11 +296,6 @@
<script type="text/javascript" src="${ctx}/resources/code/js/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="${ctx}/resources/plugins/layer/layer.js"></script>
<script type="text/javascript">
function userImageError(imager) {
// imager.style.display = 'none';
imager.setAttribute("src", "${ctx}/resources/aceAdmin/assets/avatars/user.jpg");
// imager.style.display = 'block';
}
// 修改账号密码
function setPass() {

Loading…
Cancel
Save