fix: 隐藏了ID没法添加Agent
This commit is contained in:
parent
397a233074
commit
e3dad37670
@ -16,6 +16,7 @@
|
|||||||
<th>权重</th>
|
<th>权重</th>
|
||||||
<th>备注</th>
|
<th>备注</th>
|
||||||
<th>IP</th>
|
<th>IP</th>
|
||||||
|
<th>ID</th>
|
||||||
<th>密钥</th>
|
<th>密钥</th>
|
||||||
<th>管理</th>
|
<th>管理</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -26,6 +27,7 @@
|
|||||||
<td>{{$server.DisplayIndex}}</td>
|
<td>{{$server.DisplayIndex}}</td>
|
||||||
<td>{{$server.Name}}</td>
|
<td>{{$server.Name}}</td>
|
||||||
<td>{{$server.Host.IP}}</td>
|
<td>{{$server.Host.IP}}</td>
|
||||||
|
<td>{{$server.ID}}</td>
|
||||||
<td>{{$server.Secret}}</td>
|
<td>{{$server.Secret}}</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="ui mini icon buttons">
|
<div class="ui mini icon buttons">
|
||||||
|
@ -104,7 +104,8 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
$('.yellow.info.icon').popup({
|
$('.yellow.info.icon').popup({
|
||||||
popup: '.ui.content.popup'
|
popup: '.ui.content.popup',
|
||||||
|
exclusive: true,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -183,16 +184,6 @@
|
|||||||
ns.live = true
|
ns.live = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (let j = 0; j < oldServers.length; j++) {
|
|
||||||
const os = oldServers[j];
|
|
||||||
if (ns.ID == os.ID) {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
// 新加入的仔
|
|
||||||
$('#' + ns.ID + ' .yellow.info.icon').popup({
|
|
||||||
popup: '.ui.content.popup'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ws.onclose = function () {
|
ws.onclose = function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user