再来一次时更新头像和用户名为等待状态

This commit is contained in:
flykhan 2023-03-03 16:58:30 +08:00
parent ae4d8ef42d
commit 069a207b23
1 changed files with 5 additions and 0 deletions

View File

@ -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 {