From bb2b1bcae293816e935eb746cc6479224c7971e6 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 30 Mar 2023 23:42:15 +0800 Subject: [PATCH] perf: change the default role in user settings to select input type (#3643) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area core /kind improvement /milestone 2.4.0 #### What this PR does / why we need it: 将系统设置中的用户注册的默认角色输入框改为选择框。 image #### Special notes for your reviewer: 测试 `系统设置 -> 用户设置` 中的默认角色是否可以正常设置即可。 #### Does this PR introduce a user-facing change? ```release-note None ``` --- application/src/main/resources/extensions/system-setting.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/resources/extensions/system-setting.yaml b/application/src/main/resources/extensions/system-setting.yaml index d08436b4c..cd7aa58aa 100644 --- a/application/src/main/resources/extensions/system-setting.yaml +++ b/application/src/main/resources/extensions/system-setting.yaml @@ -71,7 +71,7 @@ spec: name: allowRegistration label: "开放注册" value: false - - $formkit: text + - $formkit: roleSelect name: defaultRole label: "默认角色" - group: comment