feat: 第三方登录认证功能和管理页

This commit is contained in:
TsMask
2025-08-12 09:53:38 +08:00
parent 246bb9a7e0
commit 38f0b9b560
21 changed files with 2355 additions and 411 deletions

View File

@@ -8,7 +8,9 @@ import { useRoute } from 'vue-router';
import { hasRoles } from '@/plugins/auth-user';
import useAppStore from '@/store/modules/app';
import useI18n from '@/hooks/useI18n';
import useUserStore from '@/store/modules/user';
const appStore = useAppStore();
const userStore = useUserStore();
const route = useRoute();
const { t } = useI18n();
@@ -43,6 +45,7 @@ onActivated(() => {
<a-tab-pane
key="reset-passwd"
:tab="t('views.account.settings.resetPasswd')"
v-if="userStore.userType === 'System'"
>
<ResetPasswd></ResetPasswd>
</a-tab-pane>