Jelajahi Sumber

Merge branch 'master' of http://192.168.0.115:3000/tangning/SichuanDaily

rindy 8 bulan lalu
induk
melakukan
6e1f4332ba
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      src/App.vue

+ 4 - 2
src/App.vue

@@ -11,7 +11,7 @@
     <n-layout position="absolute" style="height: 100vh">
       <n-layout-header style="padding: 24px" bordered>
         <div class="flex justify-between items-center">
-          <div class="back" style="position: relative; top: 4px; color: #fff">
+          <div class="back" style="position: relative; top: 4px; color: #fff;cursor:pointer;" @click="handleList">
             <n-icon size="24" :component="ChevronBackOutline" />
             <span style="position: relative; top: -6px">返回我的场景</span>
           </div>
@@ -163,7 +163,9 @@ const sceneRefWidth = computed(() => {
 
 const sceneURL = computed(() => main.sceneURL)
 const sceneMobileMode = computed(() => main.sceneMode == 'mobile')
-
+const handleList = () => {
+  window.open('/#/scene')
+ }
 const sceneRef = ref()
 const main = useMainStore()
 const { setSceneLink, setSceneRef } = main