From 45a41e2685c318d91f9dbd30e7d264a6dae737a7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 21 Jan 2025 17:46:32 +0800 Subject: [PATCH] bugfix --- json/users.json | 4 ++-- wwwroot/user/user.ui | 28 ++++++++++++++++------------ 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/json/users.json b/json/users.json index 376cdbc..1dca47c 100644 --- a/json/users.json +++ b/json/users.json @@ -8,11 +8,11 @@ "sortby":"username", "logined_userorgid":"orgid", "browserfields": { - "exclouded": ["id"], + "exclouded": ["id", "password", "orgid", "nick_name" ], "cwidth": {} }, "editexclouded": [ - "id" + "id", "nick_name", "orgid" ], "subtables": [ { diff --git a/wwwroot/user/user.ui b/wwwroot/user/user.ui index 865b428..13627ec 100644 --- a/wwwroot/user/user.ui +++ b/wwwroot/user/user.ui @@ -3,19 +3,23 @@ "widgettype":"HBox", "options":{ "css":"clickable", - "popup":{ - "options":{ - "auto_dismiss":true - }, - "popup_desc":{ - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('user_menu.ui')}}" - } - }, - "popup_event":"click" - } + "cwidth":10 }, + "binds":[ + { + "wid":"self", + "event":"click", + "actiontype":"urlwidget", + "popup_options":{ + "eventpos":true, + "dismiss_events":["command"] + }, + "target":"Popup", + "options":{ + "url":"{{entire_url('user_menu.ui')}}" + } + } + ], "subwidgets":[ { "widgettype":"Icon",