From a9cd9302818ec2bcd6eec2cd530030e0eae11715 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期一, 17 一月 2022 09:49:22 +0800 Subject: [PATCH] fixed: adjust same component class name --- 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