Skip to content

Commit 8dc3994

Browse files
committed
refactor: update sslCA/sslKey fileNameField
1 parent 4b52587 commit 8dc3994

File tree

1 file changed

+6
-2
lines changed
  • packages/business/src/views/external-storage

1 file changed

+6
-2
lines changed

packages/business/src/views/external-storage/List.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,19 +277,23 @@ export default {
277277
sslCA: {
278278
'x-decorator': 'FormItem',
279279
'x-component': 'TextFileReader',
280+
'x-component-props': {
281+
fileNameField: 'attrs.sslCAFile'
282+
},
280283
type: 'string',
281284
title: i18n.t('packages_business_external_storage_list_zhengshubanfaji'),
282285
'x-index': 120,
283-
fileNameField: 'sslCAFile',
284286
required: true
285287
},
286288
sslKey: {
287289
'x-decorator': 'FormItem',
288290
'x-component': 'TextFileReader',
291+
'x-component-props': {
292+
fileNameField: 'attrs.sslKeyFile'
293+
},
289294
type: 'string',
290295
title: i18n.t('packages_business_external_storage_list_kehuduansiyao'),
291296
'x-index': 90,
292-
fileNameField: 'sslKeyFile',
293297
required: true
294298
},
295299
sslPass: {

0 commit comments

Comments
 (0)