From dae77c6087f0e9c7db8d4ec57242a0226d324552 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 01 八月 2023 09:18:00 +0800 Subject: [PATCH] Merge branch '2023_CR2' of https://dev.pollex.com.tw:8443/r/pcalife/PAM into 2023_CR2 --- PAMapp/components/loading.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/PAMapp/components/loading.vue b/PAMapp/components/loading.vue index f4099e8..8fd2578 100644 --- a/PAMapp/components/loading.vue +++ b/PAMapp/components/loading.vue @@ -17,16 +17,23 @@ } }) export default class Loading extends Vue { + isLoading = false; + defaultOptions = { animationData: require('@/assets/lottie/loading.json') }; + + ////////////////////////////////////////////////////////////////////// + start(): void { this.isLoading = true; } + finish(): void { this.isLoading = false; } + } </script> @@ -38,7 +45,7 @@ background-color: rgba(#222222, 0.5); width: 100%; height: 100%; - z-index: 99; + z-index: 2500; display: flex; justify-content: center; align-items: center; -- Gitblit v1.8.0