Skip to content

Commit

Permalink
one more little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtarsi committed Apr 28, 2024
1 parent 8687c90 commit 6d5590a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const AppWrapper: FC<AppWrapperProps> = ({ children }) => {
)
const [languageMap, setLanguageMap] = React.useState<any>({})
React.useEffect(() => {
window.sideAPI.system.getLanguageMap().then((result) => {
window.sideAPI.system.getLanguageMap(true).then((result) => {
console.log(result)
setLanguageMap(result)
})
Expand Down
2 changes: 1 addition & 1 deletion packages/side-api/src/commands/system/getLanguageMap.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* 获取语言设置字典
*/
export type Shape = () => Promise<any>
export type Shape = (frontend?: boolean) => Promise<any>

0 comments on commit 6d5590a

Please sign in to comment.