浏览代码

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

panqiuyao 8 月之前
父节点
当前提交
cdd972b143
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      frontend/src/views/Photography/check.vue

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

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