Преглед на файлове

fix: #9218 告警记录/通知记录 查看流水时取消复制按钮

jackhoo_98 преди 3 години
родител
ревизия
4d0f94fd6b
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 2 1
      src/pages/account/NotificationRecord/detail/index.tsx
  2. 2 1
      src/pages/rule-engine/Alarm/Log/Detail/Info.tsx

+ 2 - 1
src/pages/account/NotificationRecord/detail/index.tsx

@@ -62,8 +62,9 @@ const Detail = (props: Props) => {
           {data?.description || ''}
         </Descriptions.Item>
         <Descriptions.Item label="告警流水" span={2}>
-          <div style={{ maxHeight: 200, overflowY: 'auto' }}>
+          <div style={{ maxHeight: 400, overflowY: 'auto' }}>
             <ReactJson
+              enableClipboard={false}
               displayObjectSize={false}
               displayDataTypes={false}
               name={false}

+ 2 - 1
src/pages/rule-engine/Alarm/Log/Detail/Info.tsx

@@ -65,8 +65,9 @@ const Info = (props: Props) => {
           </Tooltip>
         </Descriptions.Item>
         <Descriptions.Item label="告警流水" span={2}>
-          <div style={{ maxHeight: 200, overflowY: 'auto' }}>
+          <div style={{ maxHeight: 500, overflowY: 'auto' }}>
             <ReactJson
+              enableClipboard={false}
               displayObjectSize={false}
               displayDataTypes={false}
               name={false}