mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update admin.js
This commit is contained in:
parent
6f59486e33
commit
94e8f214fa
@ -42,7 +42,7 @@ if (typeof Array.prototype.some !== 'function') {
|
||||
if (typeof jQuery === 'undefined') window.$ = window.jQuery = layui.$;
|
||||
window.form = layui.form, window.layer = layui.layer, window.laydate = layui.laydate;
|
||||
|
||||
/*! 应用根路径 */
|
||||
/*! 脚本应用根路径 */
|
||||
window.appRoot = (function (src) {
|
||||
return src.pop(), src.pop(), src.join('/') + '/';
|
||||
})(document.scripts[document.scripts.length - 1].src.split('/'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user