Browse Source

调整层级

tremble 3 years ago
parent
commit
9abbdd7c8f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/components/shared/Guide.vue

+ 3 - 3
src/components/shared/Guide.vue

@@ -25,9 +25,9 @@ const getTips = tips => {
 }
 }
 useApp().then(app => {
 useApp().then(app => {
     app.Scene.on('loaded', () => {
     app.Scene.on('loaded', () => {
-        // if (!localStorage.getItem('user_guide')) {
+        if (!localStorage.getItem('user_guide')) {
             show.value = true
             show.value = true
-        // }
+        }
     })
     })
 })
 })
 </script>
 </script>
@@ -38,7 +38,7 @@ useApp().then(app => {
     top: 0;
     top: 0;
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
-    z-index: 100000;
+    z-index: 109;
     background-color: rgba(0, 0, 0, 0.7);
     background-color: rgba(0, 0, 0, 0.7);
 }
 }
 .user-guide {
 .user-guide {