[前端]添加比赛管理中查看提交的页面,未与后端对接[CI SKIP]
This commit is contained in:
@@ -133,11 +133,17 @@ define("admin", ["jquery", "avalon"], function ($, avalon) {
|
||||
vm.template_url = "template/contest/edit_problem.html";
|
||||
});
|
||||
|
||||
vm.$watch("showContestListPage", function (problemId) {
|
||||
vm.problemId = problemId;
|
||||
vm.$watch("showContestListPage", function () {
|
||||
vm.template_url = "template/contest/contest_list.html";
|
||||
});
|
||||
|
||||
vm.$watch("showContestSubmissionPage", function (problemId, contestId, contestMode) {
|
||||
vm.$problemId = problemId;
|
||||
vm.$contestId = contestId;
|
||||
vm.$contestMode = contestMode
|
||||
vm.template_url = "template/contest/submission_list.html";
|
||||
});
|
||||
|
||||
avalon.scan();
|
||||
|
||||
window.onhashchange = function () {
|
||||
|
||||
Reference in New Issue
Block a user