Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Jul 5, 2024
1 parent 61f6072 commit 3b75945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions entrypoints/sidepanel/Sidepanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ async function ai2md() {
async function savePort(port: number) {
await portStorage.setValue(port);
if (isCheckTw5.value) {
// 更新status
checkStatus(port, status, isChecking);
}
}
Expand Down
1 change: 1 addition & 0 deletions utils/checkStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ElNotification as notify } from 'element-plus';

import { ofetch } from 'ofetch';

// 如果设置了username, password, 进行登录, 保存的时候应该也需要?
export async function checkStatus(
port: number,
status: Ref<IStatus>,
Expand Down

0 comments on commit 3b75945

Please sign in to comment.