|
@@ -28,14 +28,18 @@
|
|
|
</div>
|
|
|
<ul class="tw-flex tw-gap-2 tw-mb-0">
|
|
|
<li>
|
|
|
- 已评<span class="highlight-text">{{ store.status.personCount }}</span>
|
|
|
+ 已评<span class="highlight-text">{{
|
|
|
+ store.status.personCount || "-"
|
|
|
+ }}</span>
|
|
|
</li>
|
|
|
<li v-if="store.setting.topCount">
|
|
|
- 分配<span class="highlight-text">{{ store.setting.topCount }}</span>
|
|
|
+ 分配<span class="highlight-text">{{
|
|
|
+ store.setting.topCount || "-"
|
|
|
+ }}</span>
|
|
|
</li>
|
|
|
<li>
|
|
|
未评<span class="highlight-text">{{
|
|
|
- store.status.totalCount - store.status.markedCount
|
|
|
+ store.status.totalCount - store.status.markedCount || "-"
|
|
|
}}</span>
|
|
|
</li>
|
|
|
<li
|
|
@@ -44,7 +48,7 @@
|
|
|
<QuestionCircleOutlined class="icon-font icon-font-size-20" />
|
|
|
</li>
|
|
|
<li>
|
|
|
- 进度<span class="highlight-text">{{ progress }}%</span>
|
|
|
+ 进度<span class="highlight-text">{{ progress || "-" }}%</span>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<ul class="tw-flex tw-gap-2 tw-mb-0">
|
|
@@ -180,7 +184,7 @@
|
|
|
<div
|
|
|
class="tw-overflow-ellipsis tw-overflow-hidden tw-whitespace-nowrap tw-mr-1"
|
|
|
>
|
|
|
- {{ "分组:" + group?.number }}
|
|
|
+ {{ "分组:" + (group?.number || "-") }}
|
|
|
</div>
|
|
|
<DownOutlined
|
|
|
v-if="store.groups.length > 1"
|
|
@@ -273,7 +277,8 @@ export default defineComponent({
|
|
|
store.currentQuestion = undefined;
|
|
|
store.currentScore = undefined;
|
|
|
|
|
|
- message.info({ content: "重新加载中...", duration: 3 });
|
|
|
+ const body = document.querySelector("body");
|
|
|
+ if (body) body.innerHTML = "重新加载中...";
|
|
|
// 等待一秒后,重新加载页面
|
|
|
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
|
window.location.reload();
|