error log

This commit is contained in:
Sense T 2024-04-09 08:30:32 +08:00
parent db77b0fdb2
commit 84e9961f4b
4 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,7 @@ async function confirm() {
} catch (e) {
const msg = getErrorInfo(e)
notification.error(msg)
console.error(e)
}
loading.value = false
}

View File

@ -72,6 +72,7 @@ async function confirm() {
} catch (e) {
const msg = getErrorInfo(e)
notification.error(msg)
console.error(e)
}
}
loading.value = false;

View File

@ -24,6 +24,7 @@ onMounted(() => {
} catch (error) {
const msg = getErrorInfo(error)
notification.error(msg)
console.error(error)
}
})

View File

@ -66,6 +66,7 @@ onMounted(() => {
} catch (err) {
const msg = getErrorInfo(err)
notification.error(msg)
console.error(err)
}
})