forked from mirror/MCSManager
修复 FTP 账号名称显示错误
This commit is contained in:
parent
0d5fe0ae87
commit
7c9dabc552
@ -12,7 +12,8 @@
|
||||
<span class="glyphicon glyphicon-tasks" aria-hidden="true"> </span> CPU 使用率: {{ sysCpu }} %
|
||||
</div>
|
||||
<div class="PanelItem">
|
||||
<span class="glyphicon glyphicon-equalizer" aria-hidden="true"> </span> 内存 使用率: {{ (100 - sysMonery).toFixed(1) }} %
|
||||
<span class="glyphicon glyphicon-equalizer" aria-hidden="true"> </span> 内存 使用率: {{ (100 - sysMonery).toFixed(1)
|
||||
}} %
|
||||
</div>
|
||||
<div class="PanelItem" v-if="run">
|
||||
<span class="glyphicon glyphicon-ok" aria-hidden="true"> </span>
|
||||
@ -50,7 +51,8 @@
|
||||
<div class="PanelTitle">FTP 链接信息</div>
|
||||
<div class="PanelBody">
|
||||
<div class="PanelItem">
|
||||
<span class="glyphicon glyphicon-user" aria-hidden="true"> </span> 账号: {{ username + "." + serverData.name }}
|
||||
<span class="glyphicon glyphicon-user" aria-hidden="true"> </span> 账号: {{ MCSERVER.username + "." +
|
||||
serverData.name }}
|
||||
</div>
|
||||
|
||||
<div class="PanelItem">
|
||||
|
@ -28,6 +28,7 @@ WebSocketObserver().listener('server/console', (data) => {
|
||||
RAMlog: MCSERVER.logCenter.RAM,
|
||||
FTP_ip: MCSERVER.localProperty.ftp_ip,
|
||||
FTP_port: MCSERVER.localProperty.ftp_port,
|
||||
userName: userName
|
||||
});
|
||||
// MCSERVER.log('准许用户 [' + userName + '] 获取控制台实时数据');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user