[前端]修复问题管理(后台)页面的avalon重复定义的问题[CI SKIP]

This commit is contained in:
esp
2015-08-24 18:39:11 +08:00
parent 53e82136e4
commit 2ed22c3bce
3 changed files with 76 additions and 40 deletions

View File

@@ -41,10 +41,8 @@ require(["jquery", "avalon", "csrfToken", "bsAlert"], function ($, avalon, csrfT
vm.$fire("up!showProblemSubmissionPage", problemId);
}
});
getPageData(1);
}
getPageData(1);
function getPageData(page) {
var url = "/api/admin/problem/?paging=true&page=" + page + "&page_size=10";
if (vm.keyword != "")