File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/web/common/file/read
projects/app/src/pages/dataset/detail/components/Import/commonProgress Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const readFileRawText = (file: File) => {
1010 reader . onload = ( ) => {
1111 //@ts -ignore
1212 const encode = detectFileEncoding ( reader . result ) ;
13- console . log ( encode ) ;
13+
1414 // 再次读取文件,这次使用检测到的编码
1515 const reader2 = new FileReader ( ) ;
1616 reader2 . onload = ( ) => {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const PreviewData = ({
1515 const { sources, setSources } = useImportStore ( ) ;
1616
1717 return (
18- < Flex flexDirection = { 'column' } h = { '100%' } maxW = { '1080px' } >
18+ < Flex flexDirection = { 'column' } h = { '100%' } >
1919 < Box flex = { '1 0 0 ' } >
2020 < Preview showPreviewChunks = { showPreviewChunks } sources = { sources } />
2121 </ Box >
You can’t perform that action at this time.
0 commit comments