mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
确定 contest list vm 中的通用方法
This commit is contained in:
parent
1cecb542d9
commit
ff0697ad7f
@ -20,6 +20,14 @@ require(["jquery", "avalon", "csrfToken", "bsAlert", "editor", "datetimePicker",
|
||||
search: function () {
|
||||
getPage(1);
|
||||
avalon.vmodels.contestListPager.currentPage = 1;
|
||||
},
|
||||
|
||||
editContest: function(contestId){
|
||||
avalon.vmodels.admin.contestId = contestId;
|
||||
// todo 修改template_url
|
||||
},
|
||||
showContestProblems: function(contestId){
|
||||
// todo
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user