再来一次时更新头像和用户名为等待状态
This commit is contained in:
parent
ae4d8ef42d
commit
069a207b23
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue