Parcourir la source

Changed on Login Stuff and visibility control.

jason.lu il y a 6 ans
Parent
commit
f25bc6524f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      js/entrance.js

+ 2 - 2
js/entrance.js

@@ -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;
         }