From 916452c930ce8242b0984ad1dff7a6e4ac7c553a Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 21 Jan 2021 22:54:51 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E6=8E=88=E6=9D=83=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=94=B9=E4=B8=BAcheckbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/client.vue | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/views/system/client.vue b/src/views/system/client.vue index 0b6fe17..2a1892b 100644 --- a/src/views/system/client.vue +++ b/src/views/system/client.vue @@ -82,7 +82,30 @@ { label: "授权类型", prop: "authorizedGrantTypes", + type: "checkbox", value: "refresh_token,password,authorization_code", + dicData: [ + { + label: "refresh_token", + value: "refresh_token" + }, + { + label: "password", + value: "password" + }, + { + label: "authorization_code", + value: "authorization_code" + }, + { + label: "captcha", + value: "captcha" + }, + { + label: "social", + value: "social" + } + ], rules: [{ required: true, message: "请输入授权类型",