Commit d0a65501 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 559207f1 0631aac6
......@@ -196,6 +196,10 @@ export default {
let deviceInfo = objc.deviceInfo; //设备信息
let serverUrl = serviceInfo.serverUrl; //系统地址
let siteId = deviceInfo.siteId; //站点id
if (serverUrl.charAt(serverUrl.length - 1) !== "/") {
// 如果不是斜杠,就在末尾添加斜杠
serverUrl += "/";
}
// 保存地址
local.setLocal("serverUrl", serverUrl);
local.setLocal("siteId", siteId);
......
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