rindy 8 месяцев назад
Родитель
Сommit
2b6b1c1d4f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/store/main.ts

+ 2 - 1
src/store/main.ts

@@ -107,7 +107,8 @@ export const useMainStore = defineStore('main', {
           baseSetting: any[]
         }
       }
-      if (this.sceneInfo) {
+       //@ts-ignore
+      if (this.sceneInfo && this.sceneInfo.scrbInfo) {
         //@ts-ignore
         if (this.sceneInfo.scrbInfo.aiSetting) {
           //@ts-ignore