Skip to content

Commit b88da9f

Browse files
committed
fix problem list bug
Signed-off-by: zhangtianli2006 <49156174+zhangtianli2006@users.noreply.github.com>
1 parent bcf6391 commit b88da9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/problem/list.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ export default {
159159
} else {
160160
color += 'color-regular-text';
161161
}
162-
x.pid = (<div class={color}>{x.pid}</div>);
163162
if (!x.enabled) {
164163
x.title = (
165164
<div>
@@ -170,6 +169,7 @@ export default {
170169
} else {
171170
x.title = (<router-link to={'/problem/' + String(x.pid)} class={color + ' text-normal'}>{ x.title }</router-link>);
172171
}
172+
x.pid = (<div class={color}>{x.pid}</div>);
173173
x.score = (<div class={color + ' text-extra-bold'}>{x.score >= 0 ? x.score : '-'}</div>);
174174
175175
x.tag = (<listTag tags={ x.tags }></listTag>);

0 commit comments

Comments
 (0)