diff --git a/yudao-ui-admin-vue3/src/api/system/tenant/types.ts b/yudao-ui-admin-vue3/src/api/system/tenant/types.ts index 1fc58bd71..dc19b8e2c 100644 --- a/yudao-ui-admin-vue3/src/api/system/tenant/types.ts +++ b/yudao-ui-admin-vue3/src/api/system/tenant/types.ts @@ -4,6 +4,8 @@ export type TenantVO = { packageId: number contactName: string contactMobile: string + username: string + password: string accountCount: number expireTime: string domain: string diff --git a/yudao-ui-admin-vue3/src/components/UserInfo/src/UserInfo.vue b/yudao-ui-admin-vue3/src/components/UserInfo/src/UserInfo.vue index 5bccbe429..41650ae2c 100644 --- a/yudao-ui-admin-vue3/src/components/UserInfo/src/UserInfo.vue +++ b/yudao-ui-admin-vue3/src/components/UserInfo/src/UserInfo.vue @@ -37,7 +37,7 @@ const loginOut = () => { .then(async () => { userStore.loginOut() tagsViewStore.delAllViews - replace('/login') + replace('/login?redirect=/index') }) .catch(() => {}) } diff --git a/yudao-ui-admin-vue3/src/views/system/tenant/index.vue b/yudao-ui-admin-vue3/src/views/system/tenant/index.vue index 76bdf9b9f..e432fbca4 100644 --- a/yudao-ui-admin-vue3/src/views/system/tenant/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/tenant/index.vue @@ -199,7 +199,7 @@ onMounted(async () => { ref="formRef" >