fix: NPC 빙의 장수 목록 안보이는 버그 수정

- API/Global/GeneralList를 WithToken과 분리
This commit is contained in:
2022-04-20 22:33:46 +09:00
parent ec10949c64
commit 5eaafaeee6
5 changed files with 46 additions and 24 deletions
+4 -6
View File
@@ -101,9 +101,9 @@ const templateGeneralRow =
<td><%specialDomesticWithTooltip%> / <%specialWarWithTooltip%></td>\
<td>Lv <%explevel%></td>\
<td><%nation%></td>\
<td><%experience%></td>\
<td><%dedication%></td>\
<td><%officerLevel%></td>\
<td><%experienceStr%></td>\
<td><%dedicationStr%></td>\
<td><%officerLevelStr%></td>\
<td><%total%></td>\
<td><%leadership%></td>\
<td><%strength%></td>\
@@ -420,9 +420,7 @@ $(function ($) {
$('#btn_load_general_list').on('click', async function () {
try {
const result = await SammoAPI.Global.GeneralList({
with_token: true,
});
const result = await SammoAPI.Global.GeneralListWithToken();
printGeneralList(result);
} catch (e) {
console.error(e);