This commit is contained in:
bietiaop committed 2025-02-06 20:10:11 +08:00
1 parent ae02bb20c6
commit 289d44e75b
3 files changed
+7 -1

No files matched your search

@@ -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)
}