fix: resolved all vue-tsc errors

This commit is contained in:
0xJacky 2023-11-29 22:04:30 +08:00
parent d325dd7493
commit ab1adcfa3d
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
64 changed files with 675 additions and 451 deletions

View file

@ -95,7 +95,7 @@ const loginWithCasdoor = () => {
if (route.query?.code !== undefined && route.query?.state !== undefined) {
loading.value = true
auth.casdoor_login(route.query.code.toString(), route.query.state.toString()).then(async () => {
auth.casdoor_login(route.query?.code?.toString(), route.query?.state?.toString()).then(async () => {
message.success($gettext('Login successful'), 1)
const next = (route.query?.next || '').toString() || '/'