This commit is contained in:
bietiaop
2025-02-06 20:10:11 +08:00
parent 6a990edb38
commit 11816d038d
3 changed files with 7 additions and 1 deletions

View File

@@ -81,6 +81,10 @@ const WebUIConfigCard = () => {
onDelete={async () => {
try {
await FileManager.deleteWebUIFont()
toast.success('删除成功')
setTimeout(() => {
window.location.reload()
}, 1000)
} catch (error) {
toast.error('删除失败: ' + (error as Error).message)
}