bing 2 년 전
부모
커밋
71a0a528b9
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      assets/guild/script/JoinGuild.ts

+ 4 - 0
assets/guild/script/JoinGuild.ts

@@ -16,6 +16,10 @@ export class JoinGuild extends Component {
         this.lb_id.string = nav_info.match_id + ":الانضمام إلى النقابة ";
     }
 	private onGoClick(){
+        if(!nav_info.match_id.length){
+            nav_info.scene.showTip("no match id");
+            return;
+        }
         let str = Config.copy_prefix + "joinguild&"+nav_info.match_id;
         Utils.copyToZone(str, this, this.onCopy);
 	}