mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-28 09:29:16 +08:00
更改
This commit is contained in:
parent
f6d5742b24
commit
7c7c6619b9
@ -1,7 +1,6 @@
|
||||
/*! 项目应用根路径 */
|
||||
window.appRoot = (function (script) {
|
||||
let src = script.src.split('/').slice(3);
|
||||
return src.pop(), src.pop(), '/' + src.join('/') + '/';
|
||||
return '/' + script.src.split('/').slice(3, -2).join('/') + '/';
|
||||
})(document.querySelector('script[src][type=module]:last-child'));
|
||||
|
||||
;(async () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user