提交 48594da7 authored 作者: haodaking's avatar haodaking

bug fixes

上级 071959fa
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
label: '教育时间', label: '教育时间',
code: 'start_date', code: 'start_date',
computed(data) { computed(data) {
return data.start_date + (data.end_date ? `至${data.end_date}` : '') return (data.start_date || '') + (data.end_date ? `至${data.end_date}` : '')
} }
}, },
{ label: '专业名称', code: 'major_cn' }, { label: '专业名称', code: 'major_cn' },
...@@ -258,7 +258,7 @@ export default { ...@@ -258,7 +258,7 @@ export default {
label: '工作时间', label: '工作时间',
code: 'start_date', code: 'start_date',
computed(data) { computed(data) {
return data.start_date + (data.end_date ? `至${data.end_date}` : '') return (data.start_date || '') + (data.end_date ? `至${data.end_date}` : '')
} }
}, },
{ label: '工作单位', code: 'company_name_cn' }, { label: '工作单位', code: 'company_name_cn' },
...@@ -300,7 +300,7 @@ export default { ...@@ -300,7 +300,7 @@ export default {
label: '培训时间', label: '培训时间',
code: 'start_date', code: 'start_date',
computed(data) { computed(data) {
return data.start_date + (data.end_date ? `至${data.end_date}` : '') return (data.start_date || '') + (data.end_date ? `至${data.end_date}` : '')
} }
}, },
{ label: '培训机构', code: 'institution_cn' }, { label: '培训机构', code: 'institution_cn' },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论