Update admin.js

This commit is contained in:
Anyon 2020-08-17 18:10:48 +08:00
parent 91a6fab082
commit b06a4c29ec

View File

@ -125,7 +125,7 @@ $(function () {
this.selecter = '.layui-layout-admin>.layui-body';
// 刷新当前页面
this.reload = function () {
window.onhashchange.call(this);
self === top ? window.onhashchange.call(this) : window.location.reload();
};
// 内容区域动态加载后初始化
this.reInit = function ($dom) {