From 1c2d1757b30b75cee0be35ace7a4b767e5911ccd Mon Sep 17 00:00:00 2001 From: ningmengchongshui <916415899@qq.com> Date: Wed, 12 Jun 2024 10:46:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/plugins/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/plugins/index.ts b/src/core/plugins/index.ts index b79aac3..d74f700 100644 --- a/src/core/plugins/index.ts +++ b/src/core/plugins/index.ts @@ -60,7 +60,7 @@ type PluginSuperType = { * rule.permission 权限 master,owner,admin,all */ rule?: { - reg?: RegExp, + reg?: RegExp | string, fnc?: string, event?: keyof EventMap, log?: boolean