地图改为后端生成+前端绘制
This commit is contained in:
@@ -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: {},
|
||||
|
||||
Reference in New Issue
Block a user