font awesome ,刷新页面,图标偶尔出现乱码。

font awesome ,刷新页面,图标偶尔出现乱码。

clipboard.png

部分相关代码

.page-sidebar .sidebar-menu a .menu-expand {
    display: inline-block;
    position: absolute;
    font-size: 13px;
    line-height: 10px;
    height: 10px;
    width: 10px;
    right: 12px;
    top: 15px;
    margin: 0;
    text-align: center;
    padding: 0;
    -webkit-text-shadow: none;
    text-shadow: none;
    color: #666;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal
}

.page-sidebar .sidebar-menu a .menu-expand:before {
    content: ""
}

正常显示:

clipboard.png

偶尔在刷新页面的时候出现乱码的情况。不知道什么原因,求解答
谢谢了~

阅读 6.4k
3 个回答
新手上路,请多包涵

是UTF-8的问题吗

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题