Browse Source

Hotfix

pull/6/head
Pisces000221 7 years ago
parent
commit
5ec8eeb964
  1. 2
      views/contest_edit.ejs

2
views/contest_edit.ejs

@ -49,7 +49,7 @@
</div> </div>
<div class="field"> <div class="field">
<label>排行参数</label> <label>排行参数</label>
<input type="text" name="ranking_params" value="<%= JSON.stringify(contest.ranklist.ranking_params) %>"> <input type="text" name="ranking_params" value="<%= contest.ranklist ? JSON.stringify(contest.ranklist.ranking_params) : '' %>">
</div> </div>
<div class="field"> <div class="field">
<label>比赛公告</label> <label>比赛公告</label>

Loading…
Cancel
Save