当前位置: 代码迷 >> 综合 >> picker 匹配
  详细解决方案

picker 匹配

热度:73   发布时间:2023-12-03 01:40:53.0

console.log(e.detail.value);
console.log(this.schoolList[e.detail.value].id);

this.rq.getData(‘medical/api/Home/healthTime’,{

			}).then(res => {let arr = JSON.parse(JSON.stringify(res.data));let last = arr.length?res.data.times+'-01':'';let arrlist=[]for(let i in arr){let obj={}obj.school_name=arr[i].res.create_timeobj.id=arr[i].res.idarrlist.push(obj);}this.schoolList=arrlist;})
  相关解决方案