收紧店务端验证码登录准入

This commit is contained in:
2026-07-06 17:35:12 +08:00
parent 3c041e0895
commit 7d7d23a3d2
8 changed files with 124 additions and 6 deletions
+2 -2
View File
@@ -26,8 +26,8 @@
<div v-if="activeTab === 'login'" class="login-type-toggle">
<a-radio-group v-model:value="loginType" button-style="solid">
<a-radio-button value="password">账号密码登录</a-radio-button>
<a-radio-button value="phone">手机号验证码登录</a-radio-button>
<a-radio-button value="password">账号密码登录</a-radio-button>
</a-radio-group>
</div>
@@ -479,7 +479,7 @@ const activeTab = ref<'login' | 'register'>('login')
* Purpose: loginType supports AuthView.vue by holding or executing the login type page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
*/
const loginType = ref<'password' | 'phone'>('password')
const loginType = ref<'password' | 'phone'>('phone')
/** loading is a reactive state variable used by the template and event handlers. */
const loading = ref(false)
/** loadingShops is a reactive state variable used by the template and event handlers. */