mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: resolved all vue-tsc errors
This commit is contained in:
parent
d325dd7493
commit
ab1adcfa3d
64 changed files with 675 additions and 451 deletions
|
@ -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() || '/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue