图片中的这段小程序代码有什么问题吗?为什么未来的时间显示不出来呢

这是js

observers :{
    'isOpen': function (nV) {
      if(nV) {
        this.clickPup()
      }
    },
    'timeSelect': function (arr) {
      if(arr.length>0) {
       let defaultTime =  this.data.selectTime.split(' ')
        this.setData({
          dates: arr,
          selectIndex: defaultTime[0] || arr[0].id,
          times: arr[0].children,
          active: defaultTime[1] || arr[0].children[0].id
       })
      } else {
        this.setData({
          dates: [],
          times: []
       })
      }
    }
  },
  data: {
    index: '',
    selectIndex: '1',
    dates: [],
    active: '1',
    times: [],
    click: false,
    option: false
  }

这是wxml

这时间怎么显示不出来呢?

先确定arr.length>0 确实大于0了,打印一下arr看看