mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-31 17:58:12 +00:00
no message
This commit is contained in:
parent
b05046af29
commit
b8befaa973
1
resources/assets/js/app.js
vendored
1
resources/assets/js/app.js
vendored
@ -346,6 +346,7 @@ const $preload = async () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.querySelector(".app-view-loading")?.setAttribute("data-visible", "false")
|
||||||
window.__initializeApp = async (loadHash) => {
|
window.__initializeApp = async (loadHash) => {
|
||||||
if (/^https?:\/\//.test(loadHash)) {
|
if (/^https?:\/\//.test(loadHash)) {
|
||||||
if ($A.getDomain(loadHash) !== $A.getDomain($A.mainUrl())) {
|
if ($A.getDomain(loadHash) !== $A.getDomain($A.mainUrl())) {
|
||||||
|
|||||||
@ -16,6 +16,9 @@ micro-app-body .app-view-loading {
|
|||||||
.app-view-loading > div {
|
.app-view-loading > div {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.app-view-loading[data-visible=false] > div {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
.app-view-loading > div > div {
|
.app-view-loading > div > div {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user