复制代码

change(e){
  clearTimeout(this.timer);
  this.timer=setTimeout(()=>{
    let val = e.detail.value
    this.keyWord = val;
    if(!val || val ==''){
      this.searchBox = false;
      return ;
    }
    this.searchData(val);
  },400)
},

复制代码

 

posted on   chenlw101  阅读(754)  评论(0编辑  收藏  举报
努力加载评论中...

点击右上角即可分享
微信分享提示