diff --git a/src/components/dialog/UserAuthDialog.vue b/src/components/dialog/UserAuthDialog.vue index c222256a..604b7f66 100644 --- a/src/components/dialog/UserAuthDialog.vue +++ b/src/components/dialog/UserAuthDialog.vue @@ -61,7 +61,7 @@ async function loadLastAuthParams() { try { const result: { [key: string]: any } = await api.get(`system/setting/UserSiteAuthParams`) if (result.success) { - authForm.value = result.data?.value || {} + authForm.value = result.data?.value || { site: null, params: {} } } } catch (e) { console.error(e)