'修复bug提单工具【标题】字段包含跨行文本时报错'
This commit is contained in:
parent
4e189d6f44
commit
3dc4815e26
@ -202,7 +202,7 @@ class FieldMapper:
|
||||
tapd_data = {}
|
||||
|
||||
# 1. 标题(必填)
|
||||
title = record_data.get('标题', '').strip()
|
||||
title = self._convert_multiline_text(record_data.get('标题', ''))
|
||||
if not title:
|
||||
raise ValueError("标题不能为空")
|
||||
tapd_data['title'] = title
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user