mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 18:27:13 +08:00
fix: 修正网站启动停止的翻译
This commit is contained in:
@@ -233,11 +233,11 @@ const handleStatusChange = (row: any) => {
|
||||
|
||||
useRequest(website.status(row.id, !row.status)).onSuccess(() => {
|
||||
row.status = !row.status
|
||||
window.$message.success(
|
||||
$gettext('Already %{ status }', {
|
||||
status: row.status ? $gettext('started') : $gettext('stopped')
|
||||
})
|
||||
)
|
||||
if (row.status) {
|
||||
window.$message.success($gettext('Started successfully'))
|
||||
} else {
|
||||
window.$message.success($gettext('Stopped successfully'))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user