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