bill 3 месяцев назад
Родитель
Сommit
9b217f198a
3 измененных файлов с 7 добавлено и 6 удалено
  1. 1 0
      src/views/scene/covers/reshoot.vue
  2. 1 1
      src/views/scene/menus/actions.ts
  3. 5 5
      src/views/scene/menus/menus.ts

+ 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)
   const data: any = await reshoot(reshootPointStack.current.value.value.pos)
   if (data) {
   if (data) {
     useSDK().reshoot({...data, immediate: true})
     useSDK().reshoot({...data, immediate: true})
+    console.log('补拍')
   } else {
   } else {
     // Message.error({ msg: "拍摄失败", time: 2000 });
     // Message.error({ msg: "拍摄失败", time: 2000 });
     return;
     return;

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

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

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

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