游戏陪玩用户-编辑-兼容游戏未配置

This commit is contained in:
khalil
2024-07-19 11:56:57 +08:00
parent f34a7b9430
commit 89c27b28e7

View File

@@ -463,7 +463,7 @@ function freshUserModal () {
} else {
$("#modalAddBtn").hide();
}
const gameStr = modalData.games.map((game, index) =>
const gameStr = !modalData.games ? '' : modalData.games.map((game, index) =>
'<div class="form-group">' +
'<label for="modalGameId" class="col-sm-3 control-label">游戏:</label>' +
'<div class="col-sm-9">' +