...
|
...
|
@@ -146,7 +146,7 @@ export const formSchema: FormSchema[] = [ |
146
|
146
|
field: 'appId',
|
147
|
147
|
label: 'appId',
|
148
|
148
|
required: true,
|
149
|
|
- component: 'Input',
|
|
149
|
+ component: 'InputPassword',
|
150
|
150
|
componentProps: {
|
151
|
151
|
maxLength: 36,
|
152
|
152
|
placeholder: '请输入appId',
|
...
|
...
|
@@ -157,7 +157,7 @@ export const formSchema: FormSchema[] = [ |
157
|
157
|
field: 'secretId',
|
158
|
158
|
label: 'secretId',
|
159
|
159
|
required: true,
|
160
|
|
- component: 'Input',
|
|
160
|
+ component: 'InputPassword',
|
161
|
161
|
helpMessage: ['腾讯云:API密钥参考地址: https://console.cloud.tencent.com/cam/capi'],
|
162
|
162
|
componentProps: {
|
163
|
163
|
maxLength: 36,
|
...
|
...
|
@@ -173,14 +173,14 @@ export const formSchema: FormSchema[] = [ |
173
|
173
|
placeholder: '请输入secretKey',
|
174
|
174
|
},
|
175
|
175
|
|
176
|
|
- component: 'Input',
|
|
176
|
+ component: 'InputPassword',
|
177
|
177
|
ifShow: ({ values }) => messageTypeIsTencentCloud(Reflect.get(values, 'platformType')),
|
178
|
178
|
},
|
179
|
179
|
{
|
180
|
180
|
field: 'accessKeyId',
|
181
|
181
|
label: 'accessKeyId',
|
182
|
182
|
required: true,
|
183
|
|
- component: 'Input',
|
|
183
|
+ component: 'InputPassword',
|
184
|
184
|
helpMessage: ['阿里云:API密钥参考地址:https://ram.console.aliyun.com/manage/ak'],
|
185
|
185
|
componentProps: {
|
186
|
186
|
maxLength: 36,
|
...
|
...
|
@@ -199,7 +199,7 @@ export const formSchema: FormSchema[] = [ |
199
|
199
|
placeholder: '请输入accessKeySecret',
|
200
|
200
|
},
|
201
|
201
|
|
202
|
|
- component: 'Input',
|
|
202
|
+ component: 'InputPassword',
|
203
|
203
|
ifShow: ({ values }) =>
|
204
|
204
|
isMessage(Reflect.get(values, 'messageType')) &&
|
205
|
205
|
!messageTypeIsTencentCloud(Reflect.get(values, 'platformType')),
|
...
|
...
|
@@ -271,7 +271,7 @@ export const formSchema: FormSchema[] = [ |
271
|
271
|
{
|
272
|
272
|
field: 'agentId',
|
273
|
273
|
label: 'agentId',
|
274
|
|
- component: 'Input',
|
|
274
|
+ component: 'InputPassword',
|
275
|
275
|
required: true,
|
276
|
276
|
ifShow: ({ values }) => isDingtalk(Reflect.get(values, 'messageType')),
|
277
|
277
|
componentProps: {
|
...
|
...
|
@@ -282,7 +282,7 @@ export const formSchema: FormSchema[] = [ |
282
|
282
|
{
|
283
|
283
|
field: 'clientId',
|
284
|
284
|
label: 'clientId',
|
285
|
|
- component: 'Input',
|
|
285
|
+ component: 'InputPassword',
|
286
|
286
|
required: true,
|
287
|
287
|
ifShow: ({ values }) => isDingtalk(Reflect.get(values, 'messageType')),
|
288
|
288
|
componentProps: {
|
...
|
...
|
@@ -293,7 +293,7 @@ export const formSchema: FormSchema[] = [ |
293
|
293
|
{
|
294
|
294
|
field: 'clientSecret',
|
295
|
295
|
label: 'clientSecret',
|
296
|
|
- component: 'Input',
|
|
296
|
+ component: 'InputPassword',
|
297
|
297
|
ifShow: ({ values }) => isDingtalk(Reflect.get(values, 'messageType')),
|
298
|
298
|
required: true,
|
299
|
299
|
componentProps: {
|
...
|
...
|
|