提交 d64f8e2e authored 作者: 王鹏飞's avatar 王鹏飞

fix: 推荐信附件兼容旧数据

上级 47468a55
......@@ -14,7 +14,7 @@ export default function(_this) {
this.form.options.disabled = stageList.findIndex(item => item === submissionStage) > 6
const attachment = attachments.reduce(
(result, item) => {
const types = ['RECOMMENDATION_LETTER']
const types = ['RECOMMENDATION_LETTER', 'RECOMMENDATION_LETTER_2']
types.forEach(type => {
if (item.file_type_id === type) {
result[type].push(item)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论