mirror of
https://github.com/woodchen-ink/openai-billing-query.git
synced 2025-07-19 14:32:00 +08:00
bug
This commit is contained in:
parent
09c40f92a5
commit
4cfdee7ca5
@ -47,10 +47,6 @@ async function checkBilling(apiKey, apiUrl) {
|
|||||||
|
|
||||||
//查询函数
|
//查询函数
|
||||||
async function sendRequest() {
|
async function sendRequest() {
|
||||||
let button = document.querySelector("button");
|
|
||||||
button.textContent = "加载中...";
|
|
||||||
button.disabled = true;
|
|
||||||
button.classList.add("loading")
|
|
||||||
|
|
||||||
let apiKeyInput = document.getElementById("api-key-input");
|
let apiKeyInput = document.getElementById("api-key-input");
|
||||||
let apiUrlSelect = document.getElementById("api-url-select");
|
let apiUrlSelect = document.getElementById("api-url-select");
|
||||||
@ -160,12 +156,6 @@ async function sendRequest() {
|
|||||||
queriedApiKeys = [];
|
queriedApiKeys = [];
|
||||||
}
|
}
|
||||||
serialNumber++;
|
serialNumber++;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
button.textContent = "查询";
|
|
||||||
button.disabled = false;
|
|
||||||
button.classList.remove("loading");
|
|
||||||
}
|
}
|
||||||
hideLoadingAnimation();
|
hideLoadingAnimation();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user