2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 20:47:18 +08:00

feat: 数据库服务器支持修改

This commit is contained in:
耗子
2024-11-27 03:29:41 +08:00
parent c2ae9dc4a1
commit 8d729aaf48
5 changed files with 149 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ const updateModel = ref({
const handleUpdate = () => {
useRequest(() => database.userUpdate(id.value, updateModel.value)).onSuccess(() => {
show.value = false
window.$message.success('更新成功')
window.$message.success('修改成功')
window.$bus.emit('database-user:refresh')
})
}
@@ -36,7 +36,7 @@ watch(
<n-modal
v-model:show="show"
preset="card"
title="更新用户"
title="修改用户"
style="width: 60vw"
size="huge"
:bordered="false"