Browse Source

feat(photography): 添加调试模式下的一键设置功能

- 在 shot.vue 文件中,增加了一个条件判断,允许在品牌公司代码为 1300 或应用处于调试模式时显示一键设置选项- 这个改动使得开发者在调试模式下也能方便地进行设置,提高了开发效率
panqiuyao 4 months ago
parent
commit
aca3196188
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/src/views/Photography/shot.vue

+ 1 - 1
frontend/src/views/Photography/shot.vue

@@ -246,7 +246,7 @@ const menu = computed(()=>{
       }
     ]
   }
-  if(useUserInfoStore.userInfo.brand_company_code === '1300'){
+  if(useUserInfoStore.userInfo.brand_company_code === '1300' || configInfoStore.appConfig.debug){
     return [
       {
         type:'setting'