|
|
@ -161,7 +161,7 @@ |
|
|
|
<div class="app-loading"> |
|
|
|
<div class="app-loading"> |
|
|
|
<div class="app-loading-wrap"> |
|
|
|
<div class="app-loading-wrap"> |
|
|
|
<!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" />--> |
|
|
|
<!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" />--> |
|
|
|
<img src="/resource/img/comp/appLogo.png" class="app-loading-logo" alt="Logo" /> |
|
|
|
<img src="/resource/img/comp/appLogo.png" class="app-loading-logo" id="change-logo" alt="Logo" /> |
|
|
|
<div class="app-loading-dots"> |
|
|
|
<div class="app-loading-dots"> |
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> |
|
|
|
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -169,6 +169,20 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<script type="module"> |
|
|
|
|
|
|
|
import { useSettingStore } from './src/store/modules/useSettingStore'; |
|
|
|
|
|
|
|
import { store } from './src/store/index'; |
|
|
|
|
|
|
|
const { setting , isGot } = useSettingStore(store); |
|
|
|
|
|
|
|
isGot.then(res=>{ |
|
|
|
|
|
|
|
const link = document.createElement('link'); |
|
|
|
|
|
|
|
link.rel = 'icon'; |
|
|
|
|
|
|
|
link.href = setting.logo; |
|
|
|
|
|
|
|
const head = document.head || document.getElementsByTagName('head')[0]; |
|
|
|
|
|
|
|
head.appendChild(link); |
|
|
|
|
|
|
|
const changelogo = document.querySelector('#change-logo'); |
|
|
|
|
|
|
|
if(changelogo) changelogo.src = setting.logo; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
</script> |
|
|
|
<script type="module" src="/src/main.ts"></script> |
|
|
|
<script type="module" src="/src/main.ts"></script> |
|
|
|
</body> |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
</html> |
|
|
|