Commit e1d1923e authored by liyuanhong's avatar liyuanhong

修复M300模拟器页面多人在线面板,使用了M500模拟器的缓存

parent 869ff14d
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<div style="display: block; width: 100%; border-width: 1px; border-style: solid; border-color: darkgray; border-radius: 10px; padding: 2px; margin-top: 5px;"> <div style="display: block; width: 100%; border-width: 1px; border-style: solid; border-color: darkgray; border-radius: 10px; padding: 2px; margin-top: 5px;">
<h5><b>多人在线状态面板:</b></h5> <h5><b>多人在线状态面板:</b></h5>
<span><label>我的id:</label><input disabled=disabled type="text" id="curSession" class="form-control" style="display:inline;width:200px;" value=""/></span> <span><label>我的id:</label><input disabled=disabled type="text" id="curSession" class="form-control" style="display:inline;width:200px;" value=""/></span>
<span><label>在线人数:</label><input disabled=disabled type="text" id="totalSessionNums" class="form-control" style="display:inline;width:80px;" value="1"/></span> <span><label>在线人数:</label><input disabled=disabled type="text" id="totalSessionNums" class="form-control" style="display:inline;width:80px;" value="0"/></span>
<button id="sessionRefresh" type="button" class="btn btn-primary" onclick="getAllUsers(this)">刷新</button><label style="font-size:10px;width:100px;">刷新后,可在控制台查看在线用户详细信息</label> <button id="sessionRefresh" type="button" class="btn btn-primary" onclick="getAllUsers(this)">刷新</button><label style="font-size:10px;width:100px;">刷新后,可在控制台查看在线用户详细信息</label>
</div> </div>
<div style="width:100%;_padding-bottom:10px;border-bottom: 1px solid #eee;"> <div style="width:100%;_padding-bottom:10px;border-bottom: 1px solid #eee;">
...@@ -598,7 +598,7 @@ function getAllUsers(){ ...@@ -598,7 +598,7 @@ function getAllUsers(){
var data = {}; var data = {};
var host = window.location.host; var host = window.location.host;
$.ajax({ $.ajax({
url:"http://" + host + "/protocolTools/M_carSimulater_process/getConnects", url:"http://" + host + "/m300Tools/M_m300Simulater_process/getConnects",
type:"post", type:"post",
data:data, data:data,
dataType:"json", dataType:"json",
......
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