loading function ejected from vue instance
This commit is contained in:
parent
71f05121ab
commit
5be8257149
5
resources/assets/js/mixins/global.js
vendored
5
resources/assets/js/mixins/global.js
vendored
@ -87,7 +87,6 @@ export default {
|
||||
"thousands_separator":",",
|
||||
},
|
||||
all_currencies: [],
|
||||
content_loading: true,
|
||||
connect: {
|
||||
show: false,
|
||||
currency: {},
|
||||
@ -111,10 +110,6 @@ export default {
|
||||
},
|
||||
|
||||
mounted() {
|
||||
setTimeout(() => {
|
||||
this.content_loading = false;
|
||||
}, 1500);
|
||||
|
||||
this.checkNotify();
|
||||
|
||||
GLightbox({
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div data-absolute-loading-content v-if="content_loading" class="absolute w-full lg:flex items-start justify-center bg-body top-0 bottom-0 left-0 right-0 z-50">
|
||||
<div data-absolute-loading-content class="absolute w-full lg:flex items-start justify-center bg-body top-0 bottom-0 left-0 right-0 z-50">
|
||||
<img src="{{ asset('public/img/akaunting-loading.gif') }}" class="w-28 h-28" alt="Akaunting" />
|
||||
</div>
|
||||
<!--data attr added because for none vue.js pages-->
|
@ -1,4 +1,4 @@
|
||||
<div data-loading-content v-if="content_loading" class="fixed w-full lg:w-4/5 h-screen flex items-center justify-center bg-body top-0 bottom-0 ltr:right-0 rtl:left-0 -mx-1 z-50">
|
||||
<div data-loading-content class="fixed w-full lg:w-4/5 h-screen flex items-center justify-center bg-body top-0 bottom-0 ltr:right-0 rtl:left-0 -mx-1 z-50">
|
||||
<img src="{{ asset('public/img/akaunting-loading.gif') }}" class="w-28 h-28 lg:-mt-16" alt="Akaunting" />
|
||||
</div>
|
||||
<!--data attr added because for none vue.js pages-->
|
||||
|
@ -86,7 +86,7 @@
|
||||
setTimeout(() => {
|
||||
loading_menu_html[0].remove();
|
||||
menu_html.classList.remove('hidden');
|
||||
}, 800);
|
||||
}, timer);
|
||||
|
||||
if (loading_html.length) {
|
||||
setTimeout(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user