2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 11:27:17 +08:00

fix: MySQL不支持重载

This commit is contained in:
耗子
2025-02-12 03:07:25 +08:00
parent e614e97312
commit fff4d3eae2

View File

@@ -104,12 +104,6 @@ const handleRestart = async () => {
await getStatus()
}
const handleReload = async () => {
await systemctl.reload('mysqld')
window.$message.success('重载成功')
await getStatus()
}
const handleSetRootPassword = async () => {
await mysql.setRootPassword(rootPassword.value)
window.$message.success('修改成功')
@@ -184,10 +178,6 @@ onMounted(() => {
<TheIcon :size="18" icon="material-symbols:replay-rounded" />
重启
</n-button>
<n-button type="primary" @click="handleReload">
<TheIcon :size="20" icon="material-symbols:refresh-rounded" />
重载
</n-button>
</n-space>
</n-space>
</n-card>