From 01bafe491d3fc65f7a9cfb7dfe7a98c9453eeae5 Mon Sep 17 00:00:00 2001 From: zhuyangbin Date: Fri, 22 May 2020 14:56:34 +0800 Subject: [PATCH] update --- components/braftEditor/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/braftEditor/index.tsx b/components/braftEditor/index.tsx index 9fd8738..74897e7 100644 --- a/components/braftEditor/index.tsx +++ b/components/braftEditor/index.tsx @@ -75,7 +75,7 @@ const EditorDemo: React.FC = ({ return (percent > 0 && percent < 100) ? ( { return `图片上传中${parseInt(p, 10)}%`; }} + format={(p) => { return `${language === 'zh' ? '图片上传中' : 'uploading'}${parseInt(p, 10)}%`; }} className={styles.progress} />) : null; }; -- 2.21.0