解决vue子组件页面不刷新

	
           
        
data() {
    return {
       sourcePlaceTimer: new Date().getTime(),
       }}
getCreateTimeList() {
      this.loading = true;
      var query = Object.assign({},this.trajectoryQueryParams)
      if(query.personalName!=null){
        listTrajectoryByName(query).then(response => {
        this.trajectoryList = response.rows;
        this.sourcePlaceTimer = new Date().getTime()
        this.loading = false;
      });
      }else{
        this.loading = false;
      }

你可能感兴趣的:(解决vue子组件页面不刷新)