解决订单清空条件

This commit is contained in:
red-deng-deng 2021-11-30 02:59:33 +08:00
parent 3a2fc83a05
commit 6b4c996283
1 changed files with 8 additions and 1 deletions

View File

@ -397,6 +397,13 @@ export default class orderlist extends React.Component{
sureFn(){
this.getOrderFn();
}
onFilterClose(){
console.log("关闭")
this.setState({status:null})
}
//获取订单列表
getOrderFn(time={}){
let _self=this;
@ -510,7 +517,7 @@ componentDidUpdate(prevProps,prevState){
</div>
</p>
<Filterbar selectFn={(e)=>{this.selectedId(e)}} filterList={this.state.filterList} menuList={this.state.menuList}></Filterbar>
<Filterbar onClose={(e)=>{this.onFilterClose(e) }} selectFn={(e)=>{this.selectedId(e)}} filterList={this.state.filterList} menuList={this.state.menuList}></Filterbar>
<div>
{this.state.selectiondata.length>0?(<Alert
type="info"