Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangfisher committed Jan 2, 2025
1 parent 8f7cc04 commit 460b072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/runtime/src/__tests__/patch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ describe('语言包补丁功能', () => {
const languageLoader = getTestLanguageLoader()

const appScope = createVoerkaI18nScope({
storage
storage,
loader:languageLoader as VoerkaI18nLanguageLoader
})
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/scope/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface VoerkaI18nScopeOptions {
logger? : VoerkaI18nLogger // 日志记录器
attached? : boolean // 是否挂接到appScope
sorageKey? : string // 保存到Storeage时的Key
languageLoader?: VoerkaI18nLanguageLoader // 从远程加载语言包
loader? : VoerkaI18nLanguageLoader // 从远程加载语言包
}


Expand Down

0 comments on commit 460b072

Please sign in to comment.