mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-11 08:18:11 +00:00
no message
This commit is contained in:
parent
0af967d6c9
commit
40f8ec77b8
@ -18,7 +18,7 @@
|
||||
<body>
|
||||
|
||||
|
||||
<div id="app">
|
||||
<div id="app" data-preload="false">
|
||||
<div class="app-view-loading no-dark-content">
|
||||
<div>
|
||||
<div>PAGE LOADING</div>
|
||||
@ -33,6 +33,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
setTimeout(function () {
|
||||
if (document.getElementById("app")?.getAttribute("data-preload") === "false") {
|
||||
window.location.reload();
|
||||
}
|
||||
}, 6000);
|
||||
</script>
|
||||
|
||||
<!--script-->
|
||||
|
||||
</body>
|
||||
|
||||
2
resources/assets/js/app.js
vendored
2
resources/assets/js/app.js
vendored
@ -314,6 +314,8 @@ const $init = async () => {
|
||||
}
|
||||
|
||||
const $preload = async () => {
|
||||
document.getElementById("app")?.setAttribute("data-preload", "true")
|
||||
|
||||
if ($A.isEEUIApp) {
|
||||
const requireTime = new Date().getTime();
|
||||
while (typeof requireModuleJs !== "function") {
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<body>
|
||||
|
||||
@extends('ie')
|
||||
<div id="app">
|
||||
<div id="app" data-preload="false">
|
||||
<div class="app-view-loading no-dark-content">
|
||||
<div>
|
||||
<div>PAGE LOADING</div>
|
||||
@ -49,6 +49,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
setTimeout(function () {
|
||||
if (document.getElementById("app")?.getAttribute("data-preload") === "false") {
|
||||
window.location.reload();
|
||||
}
|
||||
}, 6000);
|
||||
</script>
|
||||
<script type="module" src="{{$script}}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user