Skip to content

Commit c47e555

Browse files
authored
Update content.vue
1 parent 8e39b23 commit c47e555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/user/content.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default {
123123
this.isStaff = data.is_staff;
124124
this.isActive = data.is_active;
125125
this.userLoading = false;
126-
if (this.solved === 0) {
126+
if (this.submit === 0) {
127127
this.rate = 100;
128128
} else {
129129
this.rate = (this.solved * 100.0) / this.submit;

0 commit comments

Comments
 (0)