1
0
mirror of https://github.com/tiny-craft/tiny-rdm.git synced 2025-05-08 18:18:06 +08:00

pref: does not close dialog when adding data error ()

This commit is contained in:
Lykin 2024-08-20 14:29:25 +08:00
parent 970ebcf902
commit c082a0c41f

@ -174,10 +174,10 @@ const onAdd = async () => {
tabStore.setSelectedKeys(server, nodeKey)
browserStore.reloadKey({ server, db, key })
}
dialogStore.closeNewKeyDialog()
} else if (!isEmpty(msg)) {
$message.error(msg)
}
dialogStore.closeNewKeyDialog()
} catch (e) {
return false
}