修正
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -100,7 +100,7 @@
|
||||
</table>
|
||||
|
||||
<script>
|
||||
const API = "http://127.0.0.1:8000";
|
||||
const API = "";
|
||||
|
||||
// --------------------
|
||||
// 初期化
|
||||
@@ -140,7 +140,7 @@
|
||||
});
|
||||
|
||||
document.getElementById("totalBalance").innerText = Number(
|
||||
data.total_balance
|
||||
data.total_balance,
|
||||
).toLocaleString();
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
const sel = document.getElementById("accountSelect");
|
||||
sel.innerHTML = data.items
|
||||
.map(
|
||||
(i) => `<option value="${i.account_id}">${i.account_name}</option>`
|
||||
(i) => `<option value="${i.account_id}">${i.account_name}</option>`,
|
||||
)
|
||||
.join("");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user