This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new a6faf33d66 [INLONG-10501][Dashboard] Modify component type to be more 
intuitive (#10503)
a6faf33d66 is described below

commit a6faf33d66a3d79d7f734b1bc088316f0a440aff
Author: haifxu <[email protected]>
AuthorDate: Tue Jun 25 22:30:37 2024 +0800

    [INLONG-10501][Dashboard] Modify component type to be more intuitive 
(#10503)
---
 .../src/plugins/streams/common/StreamDefaultInfo.ts            | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/inlong-dashboard/src/plugins/streams/common/StreamDefaultInfo.ts 
b/inlong-dashboard/src/plugins/streams/common/StreamDefaultInfo.ts
index cc8b171007..380ae0f5ef 100644
--- a/inlong-dashboard/src/plugins/streams/common/StreamDefaultInfo.ts
+++ b/inlong-dashboard/src/plugins/streams/common/StreamDefaultInfo.ts
@@ -173,11 +173,10 @@ export class StreamDefaultInfo implements 
DataWithBackend, RenderRow, RenderList
   dataEncoding: string;
 
   @FieldDecorator({
-    type: 'select',
-    initialValue: '124',
+    type: 'radio',
     props: values => ({
       disabled: [110].includes(values?.status),
-      dropdownMatchSelectWidth: false,
+      initialValue: '124',
       options: [
         {
           label: i18n.t('meta.Stream.DataSeparator.Space'),
@@ -204,11 +203,6 @@ export class StreamDefaultInfo implements DataWithBackend, 
RenderRow, RenderList
           value: '34',
         },
       ],
-      useInput: true,
-      useInputProps: {
-        placeholder: 'ASCII',
-      },
-      style: { width: 100 },
     }),
     rules: [
       {

Reply via email to