Browse Source

feat(photography): 添加生成目录功能

- 在 shot.vue 中添加生成目录菜单项
- 实现点击事件调用 openOutputDir 函数
- 更新菜单配置以支持新功能选项
panqiuyao 1 tháng trước cách đây
mục cha
commit
46af37e917
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      frontend/src/views/Photography/shot.vue

+ 12 - 0
frontend/src/views/Photography/shot.vue

@@ -271,6 +271,12 @@ const menu = computed(()=>{
         type:'developer'
       },
       {
+        name:'生成目录',
+        click(){
+          openOutputDir()
+        }
+      },
+      {
         ...generate,
       }
     ]
@@ -282,6 +288,12 @@ const menu = computed(()=>{
       type:'setting'
     },
     {
+      name:'生成目录',
+      click(){
+        openOutputDir()
+      }
+    },
+    {
       ...generate
     }
   ]