游戏陪玩用户-保存-兼容游戏未配置
This commit is contained in:
@@ -390,7 +390,7 @@ export default {
|
||||
function setUserModal (data) {
|
||||
modalData = {
|
||||
uid: data.uid, erbanNo: data.erbanNo,
|
||||
games: Object.assign([], data.games.map(game => { return { gameId: game.gameId, price: game.price, proficiency: game.proficiency, tags: Object.assign([], game.tags) } }))
|
||||
games: Object.assign([], data.games ? data.games.map(game => { return { gameId: game.gameId, price: game.price, proficiency: game.proficiency, tags: Object.assign([], game.tags) } }) : [])
|
||||
};
|
||||
freshUserModal();
|
||||
}
|
||||
|
Reference in New Issue
Block a user