setState makes me fail to mock a component prop function from mapDispatchToProps

前端 未结 0 399
醉酒成梦
醉酒成梦 2021-01-26 09:28

I have a component called NamespaceMenu below.

export class NamespaceMenu extends Component {
// omit some code here 
  refreshNamespace = (e) =>          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题