Commit 157e5f20 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复链接参数serveinfo不存在时会报错的问题

parent 09112b29
......@@ -120,6 +120,7 @@ export default {
this.devicenum = devicenum;
this.SET_deviceCode(devicenum);
local.setLocal("devicenum", devicenum);
if (!routeQuery["serveinfo"]) return;
// window软件测试
let serveinfo = JSON.parse(decodeURIComponent(routeQuery["serveinfo"]));
if (JSON.stringify(serveinfo) !== "{}") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment