fix: NPC 빙의 장수 목록 안보이는 버그 수정
- API/Global/GeneralList를 WithToken과 분리
This commit is contained in:
1 parent
4a90199617
commit
8acd71d85a
5 files changed
+46
-24
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user