mirror of
https://github.com/acepanel/panel.git
synced 2026-02-08 15:24:28 +08:00
feat: 优化服务状态显示
This commit is contained in:
@@ -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'))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user