|
@@ -102,13 +102,13 @@ export const useMainStore = defineStore('main', {
|
|
|
}
|
|
|
}
|
|
|
if (this.sceneInfo) {
|
|
|
- if (this.sceneInfo?.scrbInfo.aiSetting) {
|
|
|
+ if (this.sceneInfo.scrbInfo.aiSetting) {
|
|
|
this.aiSetting = this.sceneInfo.scrbInfo.aiSetting
|
|
|
}
|
|
|
- if ('navigation' in this.sceneInfo.scrbInfo) {
|
|
|
+ if (this.sceneInfo.scrbInfo.navigation) {
|
|
|
this.navigation = this.sceneInfo.scrbInfo.navigation
|
|
|
}
|
|
|
- if ('baseSetting' in this.sceneInfo.scrbInfo) {
|
|
|
+ if (this.sceneInfo.scrbInfo.baseSetting) {
|
|
|
this.basicConfig = this.sceneInfo.scrbInfo.baseSetting
|
|
|
}
|
|
|
}
|