From 460eeda37fea640244812b3fef12e1cc94e77759 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 27 Nov 2024 17:58:58 +0800 Subject: [PATCH] bugfix --- json/rolepermission.json | 4 ++++ json/userroles.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/json/rolepermission.json b/json/rolepermission.json index 27a6f57..4fac196 100644 --- a/json/rolepermission.json +++ b/json/rolepermission.json @@ -5,6 +5,10 @@ "tblname": "rolepermission", "title":"用户", "params": { + "relation":{ + "outter_field":"permid", + "param_field":"roleid" + }, "browserfields": { "exclouded": ["id", "roleid"], "alters":{ diff --git a/json/userroles.json b/json/userroles.json index b2490d9..e1ccd24 100644 --- a/json/userroles.json +++ b/json/userroles.json @@ -5,6 +5,10 @@ "tblname": "userroles", "title":"用户", "params": { + "relation":{ + "outter_field":"roleid", + "param_field":"userid" + }, "browserfields": { "exclouded": ["id", "userid"], "cwidth": {}