Prechádzať zdrojové kódy

修改告警详情边距

valentichu 1 rok pred
rodič
commit
c6ebeddd1a

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
lib/index.js


+ 2 - 2
src/pages/Alarm/components/components/AlarmDetail/index.jsx

@@ -330,7 +330,7 @@ const Index = (props) => {
   return (
     <>
       <div className={styles.desc}>
-        <Descriptions column={4} style={{ margin: "20px 20px 0px" }}>
+        <Descriptions column={4} style={{ margin: "0px 20px" }}>
           <Descriptions.Item span={2} label="告警名称">
             {props.data?.data?.name}
           </Descriptions.Item>
@@ -384,7 +384,7 @@ const Index = (props) => {
 
           {chartData && (
             <ReactECharts
-              style={{ height: "calc(100% - 250px)" }}
+              style={{ height: "calc(100% - 230px)" }}
               option={chartData}
               notMerge={true}
             />

+ 1 - 1
src/pages/Alarm/components/easy.jsx

@@ -39,7 +39,7 @@ const Easy = (props, ref) => {
   const [status, setStatus] = useState(2);
   const [dateTime, setDateTime] = useState(null);
   const [subType, setSubType] = useState();
-  const [isDisabled, setIsDisabled] = useState(true);
+  const [isDisabled, setIsDisabled] = useState(false);
   const [loading, setLoading] = useState(false);
   const [ahhEnable, setAhhEnable] = useState(false);
   const [ahEnable, setAhEnable] = useState(false);

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov