From 5e9cda9bee5b4fa9172b8705993f9e113ee27284 Mon Sep 17 00:00:00 2001 From: jingrow Date: Wed, 30 Jul 2025 20:09:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E5=8F=B3=E4=B8=8A=E8=A7=92=E7=9A=84?= =?UTF-8?q?=E5=86=97=E4=BD=99=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src2/objects/jsite_server.js | 28 +------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/dashboard/src2/objects/jsite_server.js b/dashboard/src2/objects/jsite_server.js index 32298bc..1a07b58 100644 --- a/dashboard/src2/objects/jsite_server.js +++ b/dashboard/src2/objects/jsite_server.js @@ -317,33 +317,7 @@ export default { } ], actions({ documentResource: jsiteServer }) { - if (!jsiteServer) return []; - - return [ - { - label: '重启', - icon: 'refresh-cw', - onClick() { - jsiteServer.reboot.submit(); - }, - condition: () => jsiteServer.pg?.status === 'Running' - }, - { - label: '重命名', - icon: 'edit-3', - onClick() { - jsiteServer.rename.submit(); - } - }, - { - label: '删除', - icon: 'trash-2', - onClick() { - jsiteServer.dropServer.submit(); - }, - condition: () => jsiteServer.pg?.status !== 'Running' - } - ].filter(action => !action.condition || action.condition()); + return []; } } }; \ No newline at end of file