Bladeren bron

mod:检查硬件完成之前 没有设置按钮

panqiuyao 8 maanden geleden
bovenliggende
commit
cdd972b143
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 6 6
      frontend/src/views/Photography/check.vue

+ 6 - 6
frontend/src/views/Photography/check.vue

@@ -2,11 +2,7 @@
 
 
   <headerBar
   <headerBar
       title="拍摄物体镜头矫正"
       title="拍摄物体镜头矫正"
-      :menu="[
-        {
-          type:'setting'
-        },
-    ]"
+      :menu="menu"
   />
   />
   <div class="check-wrap flex">
   <div class="check-wrap flex">
 
 
@@ -59,13 +55,14 @@
   />
   />
 </template>
 </template>
 <script setup lang="ts">
 <script setup lang="ts">
-import  { watchEffect } from  'vue'
+import  { watchEffect,ref, reactive } from  'vue'
 import client from "@/stores/modules/client";
 import client from "@/stores/modules/client";
 import icpList from '@/utils/ipc'
 import icpList from '@/utils/ipc'
 import useUserInfo from "@/stores/modules/user";
 import useUserInfo from "@/stores/modules/user";
 import headerBar from '@/components/header-bar/index.vue'
 import headerBar from '@/components/header-bar/index.vue'
 const clientStore = client();
 const clientStore = client();
 
 
+const menu = reactive([])
 const show = ref(true)
 const show = ref(true)
 
 
 const useUserInfoStore = useUserInfo()
 const useUserInfoStore = useUserInfo()
@@ -85,6 +82,9 @@ const preview = ref(digiCamControlWEB+'liveview.jpg')
 const step = ref(1)
 const step = ref(1)
 function checkConfirm(){
 function checkConfirm(){
   step.value =1
   step.value =1
+  menu.push({
+    type:'setting'
+  })
   showVideo()
   showVideo()
 }
 }