From 9b724f26878adf2db12a801b1466c0b025c0cf90 Mon Sep 17 00:00:00 2001 From: XIE7654 <765462425@qq.com> Date: Mon, 29 Sep 2025 21:31:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/system/management/commands/gen_menu_json.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/system/management/commands/gen_menu_json.py b/backend/system/management/commands/gen_menu_json.py index be12e95..634b911 100644 --- a/backend/system/management/commands/gen_menu_json.py +++ b/backend/system/management/commands/gen_menu_json.py @@ -6,7 +6,8 @@ import re """ 自动生成 菜单 代码的 Django 管理命令 使用方法: python manage.py gen_menu_json -例如: python manage.py gen_menu_json system Config 系统管理 +system 是 app 名称, Config 是 model 名称, System 是上级菜单名称 +例如: python manage.py gen_menu_json --app system --model Config --parent System """ # gen_menu_json --app system --model Config --parent 系统管理