Explorar o código

fix: 远程控制

wzyyy %!s(int64=2) %!d(string=hai) anos
pai
achega
bddcfe962d
Modificáronse 1 ficheiros con 2 adicións e 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);
         }
       });