浏览代码

fix: 远程控制

wzyyy 2 年之前
父节点
当前提交
bddcfe962d
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);
         }
       });