mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 11:36:36 +08:00
fix:修改错别字 (#600)
This commit is contained in:
parent
334d2251ab
commit
d775bc3aa9
|
@ -39,7 +39,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<!-- 扫码登陆 -->
|
||||
<!-- 扫码登录 -->
|
||||
<template v-else-if="type == 'qrcode'">
|
||||
<div class="tip-container">
|
||||
<span class="tip">请使用微信扫一扫登录</span>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<qrcode-vue value="" :size="160" level="H" />
|
||||
</template>
|
||||
|
||||
<!-- 手机号登陆 -->
|
||||
<!-- 手机号登录 -->
|
||||
<template v-else>
|
||||
<t-form-item name="phone">
|
||||
<t-input v-model="formData.phone" size="large" placeholder="请输入手机号码">
|
||||
|
@ -136,7 +136,7 @@ const onSubmit = async (ctx: SubmitContext) => {
|
|||
try {
|
||||
await userStore.login(formData.value);
|
||||
|
||||
MessagePlugin.success('登陆成功');
|
||||
MessagePlugin.success('登录成功');
|
||||
const redirect = route.query.redirect as string;
|
||||
const redirectUrl = redirect ? decodeURIComponent(redirect) : '/dashboard';
|
||||
router.push(redirectUrl);
|
||||
|
|
|
@ -42,7 +42,7 @@ export const useUserStore = defineStore('user', {
|
|||
// }[password];
|
||||
return {
|
||||
code: 200,
|
||||
message: '登陆成功',
|
||||
message: '登录成功',
|
||||
data: 'main_token',
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user