|
@@ -91,9 +91,26 @@ export const useMainStore = defineStore('main', {
|
|
|
async getSceneInfo() {
|
|
|
const data = await getInfo(this.sceneCode)
|
|
|
console.log('data', data)
|
|
|
+
|
|
|
this.sceneInfo = data as any as {
|
|
|
boxVideos: string
|
|
|
boxModels: string
|
|
|
+ scrbInfo: {
|
|
|
+ aiSetting: any
|
|
|
+ navigation: any
|
|
|
+ baseSetting: any
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.sceneInfo) {
|
|
|
+ if (this.sceneInfo?.scrbInfo.aiSetting) {
|
|
|
+ this.aiSetting = this.sceneInfo.scrbInfo.aiSetting
|
|
|
+ }
|
|
|
+ if ('navigation' in this.sceneInfo.scrbInfo) {
|
|
|
+ this.navigation = this.sceneInfo.scrbInfo.navigation
|
|
|
+ }
|
|
|
+ if ('baseSetting' in this.sceneInfo.scrbInfo) {
|
|
|
+ this.basicConfig = this.sceneInfo.scrbInfo.baseSetting
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
syncNavigation(navigation: any[]) {
|