Browse Source

🔖chore(ui): Improve Loading prompt

Apple\Apple 7 months ago
parent
commit
cb83a06103
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/src/components/common/Loading.js

+ 1 - 1
web/src/components/common/Loading.js

@@ -14,7 +14,7 @@ const Loading = ({ prompt: name = '', size = 'large' }) => {
           tip={null}
         />
         <span className="whitespace-nowrap mt-2 text-center" style={{ color: 'var(--semi-color-primary)' }}>
-          {name ? t('加载{{name}}中...', { name }) : t('加载中...')}
+          {name ? t('{{name}}', { name }) : t('加载中...')}
         </span>
       </div>
     </div>