Unverified Commit b0554701 authored by KVOJJJin's avatar KVOJJJin Committed by GitHub

Fix: xls not supported (#329)

parent 5943385d
...@@ -22,7 +22,7 @@ const ACCEPTS = [ ...@@ -22,7 +22,7 @@ const ACCEPTS = [
'.md', '.md',
'.markdown', '.markdown',
'.txt', '.txt',
'.xls', // '.xls',
'.xlsx', '.xlsx',
'.csv', '.csv',
] ]
......
...@@ -22,7 +22,7 @@ const translation = { ...@@ -22,7 +22,7 @@ const translation = {
title: 'Upload text file', title: 'Upload text file',
button: 'Drag and drop file, or', button: 'Drag and drop file, or',
browse: 'Browse', browse: 'Browse',
tip: 'Supports txt, html, markdown, xlsx, xls, and pdf.', tip: 'Supports txt, html, markdown, xlsx, and pdf.',
validation: { validation: {
typeError: 'File type not supported', typeError: 'File type not supported',
size: 'File too large. Maximum is 15MB', size: 'File too large. Maximum is 15MB',
......
...@@ -22,7 +22,7 @@ const translation = { ...@@ -22,7 +22,7 @@ const translation = {
title: '上传文本文件', title: '上传文本文件',
button: '拖拽文件至此,或者', button: '拖拽文件至此,或者',
browse: '选择文件', browse: '选择文件',
tip: '已支持 TXT, HTML, Markdown, PDF, XLSX, XLS', tip: '已支持 TXT, HTML, Markdown, PDF, XLSX',
validation: { validation: {
typeError: '文件类型不支持', typeError: '文件类型不支持',
size: '文件太大了,不能超过 15MB', size: '文件太大了,不能超过 15MB',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment