ソースを参照

feat: 修复bug

rindy 8 ヶ月 前
コミット
1b0f7f5dd6
1 ファイル変更3 行追加1 行削除
  1. 3 1
      src/store/main.ts

+ 3 - 1
src/store/main.ts

@@ -27,7 +27,6 @@ export const useMainStore = defineStore('main', {
           show: false,
           position: 'left'
         },
-        age: 18
       },
       sceneInfo: {
         boxVideos: '',
@@ -124,6 +123,9 @@ export const useMainStore = defineStore('main', {
           //@ts-ignore
           this.basicConfig = this.sceneInfo.scrbInfo.baseSetting
         }
+      } else {
+        this.aiSetting = []
+        this.navigation = []
       }
       return data
     },