11wqe1 2 months ago
parent
commit
529f953f77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/schoolList.vue

+ 1 - 1
src/components/schoolList.vue

@@ -1152,7 +1152,7 @@ export default {
 							e.evatime = JSON.parse(e.evatime)
 							e.evatime = JSON.parse(e.evatime)
 							e.evatime2 = e.evatime.map(dateStr => this.formatDateCy(dateStr)).join('——')
 							e.evatime2 = e.evatime.map(dateStr => this.formatDateCy(dateStr)).join('——')
 						}
 						}
-						e.typeL = JSON.parse(e.typeL)
+						e.typeL = e.typeL ? JSON.parse(e.typeL) : '';
 					});
 					});
                     this.cytableData = data
                     this.cytableData = data
 					console.log('this.cytableData',this.cytableData);
 					console.log('this.cytableData',this.cytableData);