Commit 5c14377f authored by “yiyousong”'s avatar “yiyousong”

fix: 修复链接参数缺少serveinfo时会报错

parent f913879d
......@@ -118,6 +118,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