dever 7 years ago
parent
commit
cbcdea2dbb
2 changed files with 2 additions and 0 deletions
  1. 1 0
      tm/lib/Controller/EventsController.class.php
  2. 1 0
      tm/template_dir/events_infos.html

+ 1 - 0
tm/lib/Controller/EventsController.class.php

@@ -89,6 +89,7 @@ class EventsController extends Controller {
 
 		$loginUrl = $this -> getLoginUrl($thisUrl);
 		$info['thisUrl'] = $thisUrl;
+		$this->setOutput('thisUrl', $thisUrl);
 		$this->setOutput('loginUrl', $loginUrl);
 
 		# 判断是否需要登录

+ 1 - 0
tm/template_dir/events_infos.html

@@ -67,6 +67,7 @@ function help()
     {
         if (t.ok) {
             toast('助力成功!');
+            location.reload();
         } else {
             toast(t.msg, 1);
         }