diff --git a/views/problem.ejs b/views/problem.ejs index ff619db..e29bfb9 100644 --- a/views/problem.ejs +++ b/views/problem.ejs @@ -144,7 +144,7 @@ if (contest) { <% } %> - <% if (problem.tags && problem.tags.length) { %> + <% if (problem.tags && problem.tags.length && (typeof contest === 'undefined' || !contest)) { %>

显示分类标签