Showing
1 changed file
with
2 additions
and
1 deletions
| ... | ... | @@ -315,7 +315,8 @@ export default { |
| 315 | 315 | this.filterForm.workshopIdName = match ? (match.text || '') : '' |
| 316 | 316 | }, |
| 317 | 317 | filterStatus(status) { |
| 318 | - return this.statusLocal.filter(item => item.value === status)[0].text || ''; | |
| 318 | + const _item = this.statusLocal.filter(item => item.value === status)[0] || {}; | |
| 319 | + return _item.text || ''; | |
| 319 | 320 | }, |
| 320 | 321 | } |
| 321 | 322 | } | ... | ... |