|
|
@@ -114,16 +114,12 @@ Component({
|
|
|
searchForm[code + 'End'] = data[1]
|
|
|
let menuList = this.data.menuList
|
|
|
let dateDefault = e.detail.dateDefault
|
|
|
- console.log('e4',e,dateDefault,this.data.index,menuList);
|
|
|
if(this.data.index){
|
|
|
if (menuList.length > this.data.index) {
|
|
|
menuList[this.data.index].defaultValue = dateDefault.value
|
|
|
menuList[this.data.index].title = dateDefault.text
|
|
|
}
|
|
|
- }else{
|
|
|
- // 如果index没有值,说明是初始加载
|
|
|
}
|
|
|
-
|
|
|
this.setData({
|
|
|
searchForm: searchForm,
|
|
|
menuList: menuList
|