-1
當我使用這行:警告預計轉讓或函數調用,而是看到了一個表達
this.state.selectedJobType.length > 0 ?
''
:
this.setState({ jobTypeErrMsg: 'Please select at least one job type'});
它拋出錯誤:
warning Expected an assignment or function call and instead saw an expression: