bill 1 месяц назад
Родитель
Сommit
9b217f198a

+ 1 - 0
src/views/scene/covers/reshoot.vue

@@ -47,6 +47,7 @@ const okHandler = genUseLoading(async () => {
   const data: any = await reshoot(reshootPointStack.current.value.value.pos)
   if (data) {
     useSDK().reshoot({...data, immediate: true})
+    console.log('补拍')
   } else {
     // Message.error({ msg: "拍摄失败", time: 2000 });
     return;

+ 1 - 1
src/views/scene/menus/actions.ts

@@ -400,7 +400,7 @@ const menuActions = {
     }
 
     await api.delPano(pano);
-    sdk.delReshoot({ image: pano.image });
+    sdk.delReshoot(pano);
     customMap.mode = Mode.cloud;
   }),
 };

+ 5 - 5
src/views/scene/menus/menus.ts

@@ -207,11 +207,11 @@ export const pubMenus: MenuRaw[] = [
 ];
 
 export const reshootMenus: MenuRaw[] = [
-  {
-    icon: "scene_a",
-    text: "全景",
-    key: menuEnum.ADD_RESHOOT,
-  },
+  // {
+  //   icon: "scene_a",
+  //   text: "全景",
+  //   key: menuEnum.ADD_RESHOOT,
+  // },
   {
     icon: "del",
     text: "删除",