Skip to content

Commit 45d350a

Browse files
SonyLeoxuanlid
authored andcommitted
fix: remove the throw error message statement (opentiny#1358)
* fix: remove the throw error message statement
1 parent 562457e commit 45d350a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/plugins/i18n/src/composable/useTranslate.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ const ensureI18n = (obj: { [x: string]: any; key: string }, send?: boolean) => {
109109

110110
useCanvas().canvasApi.value?.setLocales?.(messages, true)
111111
} catch (e) {
112-
throw new Error(String(e))
113112
// 不需要处理,有报错的词条会在画布初始化的时候统一调setLocales这个方法
114113
}
115114

0 commit comments

Comments
 (0)