11wqe1 4 tháng trước cách đây
mục cha
commit
529f953f77
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.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
 					console.log('this.cytableData',this.cytableData);