地图改为后端生成+前端绘制

This commit is contained in:
2023-02-27 23:01:11 +08:00
parent e6e6bc15e9
commit e6c49ad600
6 changed files with 198 additions and 44 deletions
+5
View File
@@ -7,6 +7,7 @@ export default {
// 对手信息
opponent_username: "",
opponent_photo: "",
game_map: null,
},
getters: {},
mutations: {
@@ -23,6 +24,10 @@ export default {
updateStatus(state, status) {
state.status = status;
},
// 更新地图
updateGameMap(state,game_map){
state.game_map = game_map;
}
},
actions: {},
module: {},