Explorar el Código

fix: 远程控制

wzyyy hace 2 años
padre
commit
bddcfe962d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/pages/edge/Device/Remote/index.tsx

+ 2 - 1
src/pages/edge/Device/Remote/index.tsx

@@ -19,7 +19,8 @@ const Remote = () => {
         if (resp.status === 200) {
           // window.open(resp.result);
           console.log(resp.result);
-          const item = `${resp.result?.url}`;
+          //   http://120.77.179.54:8811/
+          const item = `http://${resp.result?.url}/#/login?token=${resp.result.token}`;
           setUrl(item);
         }
       });