修复账号删除确认弹窗

This commit is contained in:
yml2213
2026-08-09 15:20:00 +08:00
parent 2e9847e15d
commit 8b867709b2
2 changed files with 43 additions and 2 deletions
-1
View File
@@ -79,7 +79,6 @@ export function useAccounts() {
const deleteAccount = async (accountName: string) => {
if (!accountName) return false
if (!window.confirm(`确定删除账号「${accountName}」及其 CK 吗?`)) return false
try {
const result = await DeleteAccounts([accountName])
if (!result.success) {