|
@@ -148,8 +148,8 @@ function on_receive_exist(objs, sta){
|
|
|
let obj = first_parse(this, objs);
|
|
|
console.log(obj);
|
|
|
if(obj != null && obj != undefined && obj.list != null){
|
|
|
- if(obj.list.length == 0){
|
|
|
- wholehtml += "当前没有正在进行的班次!";
|
|
|
+ if(obj.list.length === 0){
|
|
|
+ wholehtml = "当前没有正在进行的班次!";
|
|
|
send_remain(wholehtml);
|
|
|
return;
|
|
|
}
|