|
|
@@ -125,7 +125,8 @@
|
|
|
activeId: this.vuex_active_setting.defaultActiveId,
|
|
|
platformSettingEnum: 'ACTIVE_SETTING'
|
|
|
}
|
|
|
- this.activeSetting = JSON.parse((await this.$api.platform.getPlatformValue(params)).data.data).guideRule[0];
|
|
|
+ let setting = JSON.parse((await this.$api.platform.getPlatformValue(params)).data.data).guideRule
|
|
|
+ if(!!setting) this.activeSetting = setting[0];
|
|
|
this.initData(options)
|
|
|
|
|
|
},
|