From 59bec2d9236e03d618dc8e82d646019d28a7cfbb Mon Sep 17 00:00:00 2001 From: Soybean Date: Fri, 26 Jan 2024 01:52:24 +0800 Subject: [PATCH] refactor(projects): login components => modules --- src/views/_builtin/login/index.vue | 10 +++++----- .../login/{components => modules}/bind-wechat.vue | 0 .../login/{components => modules}/code-login.vue | 0 .../login/{components => modules}/pwd-login.vue | 0 .../login/{components => modules}/register.vue | 0 .../login/{components => modules}/reset-pwd.vue | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename src/views/_builtin/login/{components => modules}/bind-wechat.vue (100%) rename src/views/_builtin/login/{components => modules}/code-login.vue (100%) rename src/views/_builtin/login/{components => modules}/pwd-login.vue (100%) rename src/views/_builtin/login/{components => modules}/register.vue (100%) rename src/views/_builtin/login/{components => modules}/reset-pwd.vue (100%) diff --git a/src/views/_builtin/login/index.vue b/src/views/_builtin/login/index.vue index b1a48c5f5..4735a25e9 100644 --- a/src/views/_builtin/login/index.vue +++ b/src/views/_builtin/login/index.vue @@ -6,11 +6,11 @@ import { $t } from '@/locales'; import { useAppStore } from '@/store/modules/app'; import { useThemeStore } from '@/store/modules/theme'; import { loginModuleRecord } from '@/constants/app'; -import PwdLogin from './components/pwd-login.vue'; -import CodeLogin from './components/code-login.vue'; -import Register from './components/register.vue'; -import ResetPwd from './components/reset-pwd.vue'; -import BindWechat from './components/bind-wechat.vue'; +import PwdLogin from './modules/pwd-login.vue'; +import CodeLogin from './modules/code-login.vue'; +import Register from './modules/register.vue'; +import ResetPwd from './modules/reset-pwd.vue'; +import BindWechat from './modules/bind-wechat.vue'; interface Props { /** The login module */ diff --git a/src/views/_builtin/login/components/bind-wechat.vue b/src/views/_builtin/login/modules/bind-wechat.vue similarity index 100% rename from src/views/_builtin/login/components/bind-wechat.vue rename to src/views/_builtin/login/modules/bind-wechat.vue diff --git a/src/views/_builtin/login/components/code-login.vue b/src/views/_builtin/login/modules/code-login.vue similarity index 100% rename from src/views/_builtin/login/components/code-login.vue rename to src/views/_builtin/login/modules/code-login.vue diff --git a/src/views/_builtin/login/components/pwd-login.vue b/src/views/_builtin/login/modules/pwd-login.vue similarity index 100% rename from src/views/_builtin/login/components/pwd-login.vue rename to src/views/_builtin/login/modules/pwd-login.vue diff --git a/src/views/_builtin/login/components/register.vue b/src/views/_builtin/login/modules/register.vue similarity index 100% rename from src/views/_builtin/login/components/register.vue rename to src/views/_builtin/login/modules/register.vue diff --git a/src/views/_builtin/login/components/reset-pwd.vue b/src/views/_builtin/login/modules/reset-pwd.vue similarity index 100% rename from src/views/_builtin/login/components/reset-pwd.vue rename to src/views/_builtin/login/modules/reset-pwd.vue