Browse Source

fix: bug修复

wzyyy 3 năm trước cách đây
mục cha
commit
42a5f52224

+ 1 - 1
src/pages/device/DashBoard/index.tsx

@@ -283,7 +283,7 @@ const DeviceBoard = () => {
           grid: {
             top: '2%',
             bottom: '5%',
-            left: '2%',
+            left: '4%',
             right: '2%',
           },
           series: [

+ 3 - 0
src/pages/link/Type/Detail/index.tsx

@@ -128,6 +128,9 @@ const Save = observer(() => {
                 state.value = '0.0.0.0';
                 state.disabled = true;
               });
+              f.setFieldState('grid.configuration.panel1.layout2.secure', (state) => {
+                state.value = false;
+              });
             }
             const _host = filterConfigByType(_.cloneDeep(configRef.current), value);
             f.setFieldState('grid.configuration.panel1.layout2.host', (state) => {