Commit 6e5d2b61 by zhujian

fix

parent 45e0a8ee
...@@ -104,7 +104,7 @@ function StudyTable(props: any) { ...@@ -104,7 +104,7 @@ function StudyTable(props: any) {
render: (val: any, record: any) => { render: (val: any, record: any) => {
return <div> return <div>
{ {
record.department.map((item: any, index: number) => { record.department?.map((item: any, index: number) => {
if ((index + 1) == record.department.length) { if ((index + 1) == record.department.length) {
return item return item
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment