From 26770439bb6cce251a1150c92a4891e0e006d2ea Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Mon, 21 Oct 2024 19:18:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=B3=E9=97=AD=E7=BC=96=E6=8E=92?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E6=A1=86=E6=97=B6=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Plugins.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Plugins.vue b/web/src/pages/Plugins.vue index 798d9ad2..84ee7bd7 100644 --- a/web/src/pages/Plugins.vue +++ b/web/src/pages/Plugins.vue @@ -36,7 +36,7 @@ @@ -103,6 +103,11 @@ const togglePlugin = (plugin) => { const isOrchestrationDialogActive = ref(false) +const cancelOrderChanges = () => { + refresh() + isOrchestrationDialogActive.value = false +} + const saveOrder = () => { // 为所有插件的 priority 赋值,倒序 plugins.value.forEach(plugin => {