WebUI
这个提交包含在:
2
WebUI.js
2
WebUI.js
@ -69,7 +69,7 @@ exports.add = {
|
|||||||
Control: (function (connect, Info) {
|
Control: (function (connect, Info) {
|
||||||
if (Info.message.substr(0, 4) == "获取监听") {
|
if (Info.message.substr(0, 4) == "获取监听") {
|
||||||
var temp;
|
var temp;
|
||||||
if (typeof ServerWeb.address() == null) {
|
if (ServerWeb.address() == null) {
|
||||||
temp = -1;
|
temp = -1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
2
WebUI.ts
2
WebUI.ts
@ -60,7 +60,7 @@ exports.add = {
|
|||||||
Control:((connect:net.Socket,Info:Core.InfoType)=>{
|
Control:((connect:net.Socket,Info:Core.InfoType)=>{
|
||||||
if(Info.message.substr(0,4)=="获取监听"){
|
if(Info.message.substr(0,4)=="获取监听"){
|
||||||
var temp;
|
var temp;
|
||||||
if(typeof ServerWeb.address() == null){
|
if(ServerWeb.address() == null){
|
||||||
temp = -1;
|
temp = -1;
|
||||||
}else{
|
}else{
|
||||||
temp = (ServerWeb.address() as net.AddressInfo).port;
|
temp = (ServerWeb.address() as net.AddressInfo).port;
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户