@@ -352,7 +352,7 @@ const ColumnEditor: React.FC<IColumnEditorProps> = props => {
}
// 标题
const handleInputTitle = (e: React.ChangeEvent<HTMLInputElement>) => {
- setTitle(e.target.value.replace(/\s/g, ''))
+ setTitle(e.target.value)
setHasModify(true)
// 关闭预览
@@ -315,7 +315,7 @@ const ColumnModify: React.FC<IColumnModifyProps> = props => {
// 正文编辑