From 8aa719cce7f3a6a1445c0bd67fd91a40a99dabbc Mon Sep 17 00:00:00 2001 From: HibiKier <775757368@qq.com> Date: Thu, 15 Aug 2024 21:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E4=BB=A3=E7=A0=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhenxun/builtin_plugins/help/_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zhenxun/builtin_plugins/help/_utils.py b/zhenxun/builtin_plugins/help/_utils.py index 89588314..1f162ca4 100644 --- a/zhenxun/builtin_plugins/help/_utils.py +++ b/zhenxun/builtin_plugins/help/_utils.py @@ -47,7 +47,9 @@ class HelpImageBuild: """ if not self._data: self._data = await PluginInfo.filter( - plugin_type=PluginType.NORMAL, load_status=True + menu_type__not_isnull=True, + load_status=True, + plugin_type__in=[PluginType.NORMAL, PluginType.HIDDEN], ) if not self._sort_data: for plugin in self._data: