有公共组件一枚,默认按一种状态查询,父组件可以传入参数来更新显示列表内容

 <project-select :key="timer" :status-in="projectStatusIn" @select="selectProject" />

 

需要更新属性key来达到刷新的目的
this.timer = new Date().getTime()