Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:修改错别字 #600

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pages/login/components/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</div>
</template>

<!-- 扫码登陆 -->
<!-- 扫码登录 -->
<template v-else-if="type == 'qrcode'">
<div class="tip-container">
<span class="tip">请使用微信扫一扫登录</span>
Expand All @@ -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="请输入手机号码">
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const useUserStore = defineStore('user', {
// }[password];
return {
code: 200,
message: '登陆成功',
message: '登录成功',
data: 'main_token',
};
};
Expand Down
Loading