@@ -309,28 +309,7 @@ export default function Page(props: DuckCmpProps<Duck>) {
309
309
</ Text >
310
310
</ FormText >
311
311
</ FormItem >
312
- < FormItem label = { '推送方式' } >
313
- < FormText > { ConfigFileModeMap [ currentNode . supported_client ] } </ FormText >
314
- </ FormItem >
315
- { currentNode . supported_client !== ConfigFileMode . Default && (
316
- < FormItem label = { '配置下发路径' } >
317
- < FormText > { currentNode ?. persistent ?. path || '-' } </ FormText >
318
- </ FormItem >
319
- ) }
320
- </ Col >
321
- < Col span = { 12 } >
322
- < FormItem label = '最后修改人' >
323
- < FormText > { currentNode . modifyBy || '-' } </ FormText >
324
- </ FormItem >
325
- < FormItem label = '最后发布人' >
326
- < FormText > { currentNode . releaseBy || '-' } </ FormText >
327
- </ FormItem >
328
- < FormItem label = '备注' >
329
- < FormText > { currentNode . comment || '-' } </ FormText >
330
- </ FormItem >
331
- < FormItem label = '格式' >
332
- < FormText > { currentNode . format || '-' } </ FormText >
333
- </ FormItem >
312
+
334
313
{ currentNode . supported_client !== ConfigFileMode . Default && (
335
314
< >
336
315
< FormItem label = { '文件保存编码' } >
@@ -353,14 +332,38 @@ export default function Page(props: DuckCmpProps<Duck>) {
353
332
}
354
333
trigger = { 'click' }
355
334
>
356
- { ' 显示全部'}
335
+ < Button type = { 'link' } > { ' 显示全部'} </ Button >
357
336
</ Popover >
358
337
) }
359
338
</ FormText >
360
339
</ FormItem >
361
340
</ >
362
341
) }
363
342
</ Col >
343
+ < Col span = { 12 } >
344
+ < FormItem label = '最后修改人' >
345
+ < FormText > { currentNode . modifyBy || '-' } </ FormText >
346
+ </ FormItem >
347
+ < FormItem label = '最后发布人' >
348
+ < FormText > { currentNode . releaseBy || '-' } </ FormText >
349
+ </ FormItem >
350
+ < FormItem label = '备注' >
351
+ < FormText > { currentNode . comment || '-' } </ FormText >
352
+ </ FormItem >
353
+ < FormItem label = '格式' >
354
+ < FormText > { currentNode . format || '-' } </ FormText >
355
+ </ FormItem >
356
+ < FormItem label = { '推送方式' } >
357
+ < FormText > { ConfigFileModeMap [ currentNode . supported_client ] } </ FormText >
358
+ </ FormItem >
359
+ { currentNode . supported_client !== ConfigFileMode . Default && (
360
+ < >
361
+ < FormItem label = { '配置下发路径' } >
362
+ < FormText > { currentNode ?. persistent ?. path || '-' } </ FormText >
363
+ </ FormItem >
364
+ </ >
365
+ ) }
366
+ </ Col >
364
367
</ Row >
365
368
</ Form >
366
369
< Justify
@@ -439,6 +442,7 @@ export default function Page(props: DuckCmpProps<Duck>) {
439
442
. catch ( err => {
440
443
notification . error ( { description : err . toString ( ) } )
441
444
} )
445
+ return false
442
446
} else {
443
447
notification . error ( {
444
448
description : `文件大小大于${ 500 * 1024 } bytes,请重新上传` ,
0 commit comments