Commit 2c32289c4a4395369e0af44defa2591fc0cccd89

Authored by YunaiV
1 parent 20fc9cfb

vue3【client】:1)review 样式

yudao-ui-admin-vue3/src/views/system/oauth2/client/client.data.ts
@@ -49,21 +49,21 @@ const crudSchemas = reactive<VxeCrudSchema>({ @@ -49,21 +49,21 @@ const crudSchemas = reactive<VxeCrudSchema>({
49 }, 49 },
50 { 50 {
51 title: '访问令牌的有效期', 51 title: '访问令牌的有效期',
52 - field: 'accessTokenValiditySeconds', 52 + field: 'accessTokenValiditySeconds', // TODO 星语:展示时,要有 xxx 秒
53 form: { 53 form: {
54 component: 'InputNumber' 54 component: 'InputNumber'
55 } 55 }
56 }, 56 },
57 { 57 {
58 title: '刷新令牌的有效期', 58 title: '刷新令牌的有效期',
59 - field: 'refreshTokenValiditySeconds', 59 + field: 'refreshTokenValiditySeconds', // TODO 星语:展示时,要有 xxx 秒
60 form: { 60 form: {
61 component: 'InputNumber' 61 component: 'InputNumber'
62 } 62 }
63 }, 63 },
64 { 64 {
65 title: '授权类型', 65 title: '授权类型',
66 - field: 'authorizedGrantTypes', 66 + field: 'authorizedGrantTypes', // TODO 星语:详情展示时,应该类似 table 也是多个 tag
67 table: { 67 table: {
68 width: 300, 68 width: 300,
69 slots: { 69 slots: {
@@ -74,17 +74,17 @@ const crudSchemas = reactive<VxeCrudSchema>({ @@ -74,17 +74,17 @@ const crudSchemas = reactive<VxeCrudSchema>({
74 { 74 {
75 title: '授权范围', 75 title: '授权范围',
76 field: 'scopes', // TODO @星语:带输入的 SELECT 76 field: 'scopes', // TODO @星语:带输入的 SELECT
77 - isTable: false 77 + isTable: false // TODO 星语:详情展示时,应该类似 table 也是多个 tag
78 }, 78 },
79 { 79 {
80 title: '自动授权范围', 80 title: '自动授权范围',
81 field: 'autoApproveScopes', // TODO @星语:带输入的 SELECT 81 field: 'autoApproveScopes', // TODO @星语:带输入的 SELECT
82 - isTable: false 82 + isTable: false // TODO 星语:详情展示时,应该类似 table 也是多个 tag
83 }, 83 },
84 { 84 {
85 title: '可重定向的 URI 地址', 85 title: '可重定向的 URI 地址',
86 field: 'redirectUris', // TODO @星语:带输入的 SELECT 86 field: 'redirectUris', // TODO @星语:带输入的 SELECT
87 - isTable: false 87 + isTable: false // TODO 星语:详情展示时,应该类似 table 也是多个 tag
88 }, 88 },
89 { 89 {
90 title: '权限', 90 title: '权限',
yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
@@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
2 <ContentWrap> 2 <ContentWrap>
3 <!-- 列表 --> 3 <!-- 列表 -->
4 <vxe-grid ref="xGrid" v-bind="gridOptions" class="xtable-scrollbar"> 4 <vxe-grid ref="xGrid" v-bind="gridOptions" class="xtable-scrollbar">
5 - <!-- 操作:新增 -->  
6 <template #toolbar_buttons> 5 <template #toolbar_buttons>
  6 + <!-- 操作:新增 -->
7 <XButton 7 <XButton
8 type="primary" 8 type="primary"
9 preIcon="ep:zoom-in" 9 preIcon="ep:zoom-in"