Ver código fonte

fix: 远程控制

wzyyy 2 anos atrás
pai
commit
bddcfe962d
1 arquivos alterados com 2 adições e 1 exclusões
  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);
         }
       });