Commit e34b46b9 authored by zhengke's avatar zhengke

修复初始化行程 bug

parent 4134d8ad
...@@ -229,7 +229,7 @@ const GetTripFiledData = async () =>{ ...@@ -229,7 +229,7 @@ const GetTripFiledData = async () =>{
cursors.push(temp) cursors.push(temp)
} }
if(y.TemplateDataSource.index!=null&&y.TemplateDataSource.index>=0){ if(y.TemplateDataSource.index!=null&&y.TemplateDataSource.index>=0){
if(value[oo].length>temp.index) value=value[oo][y.TemplateDataSource.index] value=value[oo][y.TemplateDataSource.index]
}else{ }else{
if(value[oo].length>temp.index) value=value[oo][temp.index] if(value[oo].length>temp.index) value=value[oo][temp.index]
else value=value[oo] else value=value[oo]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment