diff --git a/web/src/components/ResultBoard.vue b/web/src/components/ResultBoard.vue index d134817..df8e8d0 100644 --- a/web/src/components/ResultBoard.vue +++ b/web/src/components/ResultBoard.vue @@ -39,6 +39,11 @@ export default { const restart = () => { store.commit("updateStatus", "matching"); store.commit("updateLoser", "none"); + // 定义默认匹配页面对手信息(匹配等待过程中使用) + store.commit("updateOpponent", { + username: "等待对手", + photo: "https://typoraflykhan.oss-cn-beijing.aliyuncs.com/202302251825860.png", + }) } return {