rindy 10 місяців тому
батько
коміт
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