修复账号删除确认弹窗
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user