From 355b5fe5e41ab3fc65016e8d9e687471b48c93eb Mon Sep 17 00:00:00 2001 From: xlsea Date: Tue, 28 Oct 2025 15:32:47 +0800 Subject: [PATCH] =?UTF-8?q?feat-wip(docs):=20=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E6=A8=A1=E6=9D=BF=E9=80=82=E9=85=8D=20Soybean=202.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/java/VelocityUtils.java | 1 + docs/template/index-tree.vue.vm | 56 ++++++++++----------- docs/template/index.vue.vm | 56 ++++++++++----------- docs/template/modules/operate-drawer.vue.vm | 45 +++++++++++++---- docs/template/modules/search.vue.vm | 14 ++++-- 5 files changed, 98 insertions(+), 74 deletions(-) diff --git a/docs/java/VelocityUtils.java b/docs/java/VelocityUtils.java index 2c540be1..924b0963 100644 --- a/docs/java/VelocityUtils.java +++ b/docs/java/VelocityUtils.java @@ -74,6 +74,7 @@ public class VelocityUtils { velocityContext.put("permissionPrefix", getPermissionPrefix(moduleName, businessName)); velocityContext.put("dicts", getDicts(genTable)); velocityContext.put("dictList", getDictList(genTable)); + velocityContext.put("pkColumn", genTable.getPkColumn()); velocityContext.put("columns", genTable.getColumns()); velocityContext.put("table", genTable); velocityContext.put("StrUtil", new StrUtil()); diff --git a/docs/template/index-tree.vue.vm b/docs/template/index-tree.vue.vm index 4339958a..2bf0c7dc 100644 --- a/docs/template/index-tree.vue.vm +++ b/docs/template/index-tree.vue.vm @@ -1,11 +1,12 @@