Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
new-socketemulator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李远洪
new-socketemulator
Commits
e1d1923e
Commit
e1d1923e
authored
Jun 03, 2020
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复M300模拟器页面多人在线面板,使用了M500模拟器的缓存
parent
869ff14d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
templates/m300Tools/report/M_m300Simulater_page.html
templates/m300Tools/report/M_m300Simulater_page.html
+2
-2
No files found.
templates/m300Tools/report/M_m300Simulater_page.html
View file @
e1d1923e
...
...
@@ -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;"
>
<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>
在线人数:
</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>
</div>
<div
style=
"width:100%;_padding-bottom:10px;border-bottom: 1px solid #eee;"
>
...
...
@@ -598,7 +598,7 @@ function getAllUsers(){
var
data
=
{};
var
host
=
window
.
location
.
host
;
$
.
ajax
({
url
:
"
http://
"
+
host
+
"
/
protocolTools/M_car
Simulater_process/getConnects
"
,
url
:
"
http://
"
+
host
+
"
/
m300Tools/M_m300
Simulater_process/getConnects
"
,
type
:
"
post
"
,
data
:
data
,
dataType
:
"
json
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment