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