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