feat(web): add download image function&fix null data point (#1653)

This commit is contained in:
chenluli
2024-06-21 17:02:49 +08:00
committed by GitHub
parent 889c3451d6
commit c57ee0289b
4 changed files with 97 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ const en = {
Description: 'Description',
Storage: 'Storage',
Please_input_the_description: 'Please input the description',
Please_select_the_storage:'Please select the storage',
Please_select_the_storage: 'Please select the storage',
Next: 'Next',
the_name_can_only_contain: 'the name can only contain numbers, letters, Chinese characters, "-" and "_"',
Text: 'Text',
@@ -223,6 +223,7 @@ const en = {
Chinese: 'Chinese',
English: 'English',
refreshSuccess: 'Refresh Success',
Download: 'Download'
} as const;
export type I18nKeys = keyof typeof en;
@@ -249,7 +250,7 @@ const zh: Resources['translation'] = {
Description: '描述',
Storage: '存储类型',
Please_input_the_description: '请输入描述',
Please_select_the_storage:'请选择存储类型',
Please_select_the_storage: '请选择存储类型',
Next: '下一步',
the_name_can_only_contain: '名称只能包含数字、字母、中文字符、-或_',
Text: '文本',
@@ -452,6 +453,7 @@ const zh: Resources['translation'] = {
Chinese: '中文',
English: '英文',
refreshSuccess: '刷新成功',
Download: '下载',
} as const;
i18n.use(initReactI18next).init({