|
@@ -162,7 +162,7 @@ class PunchClocks extends Component {
|
|
|
Taro.showToast({ title: '请填写研发工时!', icon: 'none' });
|
|
|
return
|
|
|
}
|
|
|
- if (!this.state.selectorChecked) {
|
|
|
+ if (Object.keys(this.state.selectorChecked).length == 0) {
|
|
|
Taro.showToast({ title: '请选择研发阶段!', icon: 'none' });
|
|
|
return
|
|
|
}
|