@@ -173,7 +173,7 @@ export default {
frequency_n:item.RefreshFrequencyDay,
time:item.RefreshTime,
num:item.RefreshDataNum,
- isAll:false
+ isAll:Boolean(item.RefreshAllData)
}
})
return {
@@ -348,6 +348,11 @@ export default {
this.getSelectOption()
this.selectOptionChange()
+ //如果有二级数据源,默认选中第一个
+ if(this.SubSourceList.length){
+ this.SubSource = this.SubSourceList[0].SubSource
+ this.handleSubSourceChange()
+ }
},
handleSubSourceChange(){