Skip to content

Commit 4243363

Browse files
author
smallstone
committed
Add onInitializationFinish function and fix Header component
1 parent 36a272b commit 4243363

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/util/bridge.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
- receiveMessage // 对话
4343
- systemMessage // 没用了
4444

45+
## 函数
46+
47+
onInitializationFinish // 初始化完成之后服务端掉用
48+
4549
# css
4650

4751
--vscode-editor-font-familyy

src/views/components/Header/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ export default function Head() {
6868
<IconSettings size="1.125rem" />
6969
</ActionIcon>
7070
</div>
71-
{/* <div>
71+
<div>
7272
<ActionIcon size="sm" onClick={switchLang}>
7373
<IconLanguage size="1.125rem" />
7474
</ActionIcon>
75-
</div> */}
75+
</div>
7676
</Flex>
7777
</Flex>
7878
</Header>

0 commit comments

Comments
 (0)