Przeglądaj źródła

更新scada地址

xujunjie 1 rok temu
rodzic
commit
88e06de1de
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/pages/Home/index.js

+ 1 - 1
src/pages/Home/index.js

@@ -222,7 +222,7 @@ const Scada = () => {
     defaultParams: [{ project_id: projectId }],
     defaultParams: [{ project_id: projectId }],
     formatResult: (res) => {
     formatResult: (res) => {
       let domain = location.host.includes('pad.greentech.com.cn')
       let domain = location.host.includes('pad.greentech.com.cn')
-        ? 'https://120.55.44.4:8900/'
+        ? 'https://metawant.greentech.com.cn/'
         : 'http://47.96.12.136:8788/';
         : 'http://47.96.12.136:8788/';
       const token = getToken();
       const token = getToken();
       const pageList = res?.filter((item) => item.hide);
       const pageList = res?.filter((item) => item.hide);