From 8532181e7f3eb9c1910f750de991014d4e10ab8f Mon Sep 17 00:00:00 2001 From: Rewrite0 <49576640+Rewrite0@users.noreply.github.com> Date: Sat, 3 Jun 2023 11:56:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20resetRule=20?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ab-status-bar.vue | 2 +- src/components/layout/ab-topbar.vue | 17 +++++++++++++++-- src/store/program.ts | 5 +++++ 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/components/ab-status-bar.vue b/src/components/ab-status-bar.vue index 7fcb1486..2b49f792 100644 --- a/src/components/ab-status-bar.vue +++ b/src/components/ab-status-bar.vue @@ -62,7 +62,7 @@ defineEmits(['clickAdd']); hover:bg-primary class="group" :class="[active ? 'text-white bg-theme-row' : 'text-black']" - @click="i.handle" + @click="() => i.handle && i.handle()" >