Przeglądaj źródła

:tada: 授权类型字段改为checkbox

smallchill 5 lat temu
rodzic
commit
916452c930
1 zmienionych plików z 23 dodań i 0 usunięć
  1. 23 0
      src/views/system/client.vue

+ 23 - 0
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: "请输入授权类型",