Fix error not disappearing on next print
This commit is contained in:
parent
83ab81d0c5
commit
afe9b3c869
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ export function useApiRequest() {
|
||||||
|
|
||||||
async function makeRequest(url: string, data: URLSearchParams | FormData) {
|
async function makeRequest(url: string, data: URLSearchParams | FormData) {
|
||||||
const start = Date.now();
|
const start = Date.now();
|
||||||
|
error.value = undefined;
|
||||||
disabled.value = true;
|
disabled.value = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue