dever 7 年之前
父节点
当前提交
cbcdea2dbb
共有 2 个文件被更改,包括 2 次插入0 次删除
  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);
 		$loginUrl = $this -> getLoginUrl($thisUrl);
 		$info['thisUrl'] = $thisUrl;
 		$info['thisUrl'] = $thisUrl;
+		$this->setOutput('thisUrl', $thisUrl);
 		$this->setOutput('loginUrl', $loginUrl);
 		$this->setOutput('loginUrl', $loginUrl);
 
 
 		# 判断是否需要登录
 		# 判断是否需要登录

+ 1 - 0
tm/template_dir/events_infos.html

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