dever 7 年之前
父節點
當前提交
dff31d4f4c
共有 1 個文件被更改,包括 6 次插入1 次删除
  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'