dever 7 years ago
parent
commit
dff31d4f4c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      tm/template_dir/events_try.html

+ 6 - 1
tm/template_dir/events_try.html

@@ -120,7 +120,12 @@ KISSY.use('node, io', function (S, Node, IO) {
 						showErrorMsgGoPage('本活动需登录后才可以参与');
 						return;
 					}
-					toast(data.msg, 1);
+
+					if ($('#layerbox').length) {
+						$('#layerbox').show();
+					} else {
+						toast(data.msg, 1);
+					}
 				}
 			}
 			, 'json'