shaogen1995 8 달 전
부모
커밋
e3f0bd1ec4
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/ZRichTexts/index.tsx

+ 2 - 1
src/components/ZRichTexts/index.tsx

@@ -334,7 +334,8 @@ function ZRichTexts(
                     style={{ width: 400 }}
                     onChange={e => {
                       const arr = [...sectionArr]
-                      arr[index].name = e.target.value.replace(/\s+/g, '')
+                      // arr[index].name = e.target.value.replace(/\s+/g, '')
+                      arr[index].name = e.target.value
                       setSectionArr(arr)
                     }}
                   />