2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-08 15:24:28 +08:00

feat: 优化服务状态显示

This commit is contained in:
2025-05-17 18:21:08 +08:00
parent d5d941c62b
commit c5ec454b26
23 changed files with 296 additions and 1552 deletions

View File

@@ -19,7 +19,7 @@ const url = computed(() => {
return `http://${hostname.value}:${port.value}/${path.value}`
})
const { data: config } = useRequest(phpmyadmin.getConfig, {
const { data: config } = useRequest(phpmyadmin.config, {
initialData: {
config: ''
}
@@ -40,7 +40,7 @@ const handleSave = () => {
}
const handleSaveConfig = () => {
useRequest(phpmyadmin.saveConfig(config.value)).onSuccess(() => {
useRequest(phpmyadmin.updateConfig(config.value)).onSuccess(() => {
window.$message.success($gettext('Saved successfully'))
})
}