Commit 0a2afe77 authored by 满振华's avatar 满振华
parents 812af672 01bafe49
...@@ -75,7 +75,7 @@ const EditorDemo: React.FC<IProps> = ({ ...@@ -75,7 +75,7 @@ const EditorDemo: React.FC<IProps> = ({
return (percent > 0 && percent < 100) ? (<Progress return (percent > 0 && percent < 100) ? (<Progress
percent={percent} percent={percent}
strokeColor="#04B4AD" strokeColor="#04B4AD"
format={(p) => { return `图片上传中${parseInt(p, 10)}%`; }} format={(p) => { return `${language === 'zh' ? '图片上传中' : 'uploading'}${parseInt(p, 10)}%`; }}
className={styles.progress} className={styles.progress}
/>) : null; />) : null;
}; };
......
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