1. fix mac os login issue
This commit is contained in:
2025-11-02 02:07:49 +08:00
parent 7261aca93b
commit b7ac0f7673

View File

@@ -3,11 +3,11 @@
<div class="login animate__animated" :class="{ animate__bounceOut: pass }">
<div class="head">
<img
src="https://memoryblock.com.au/cdn/shop/files/logo_c191c786-0ec8-42b5-909f-0a15df4a8325.png"
src="/img/logo.png"
alt=""
/>
</div>
<div class="message">Login Please</div>
<div class="message">MMS Login</div>
<div class="form">
<div class="item" :class="isUserNameError ? 'error' : ''">
<input class="account" placeholder="account here..." v-model="form.username" type="email" />
@@ -57,7 +57,9 @@ export default {
}, 1000);
return;
}
this.$store.dispatch('LoginByUsername', this.loginForm).then(() => {
this.form.tenantId = '000000';
this.form.type = 'account';
this.$store.dispatch('LoginByUsername', this.form).then(() => {
this.pass = true;
setTimeout(() => {
this.$router.push(this.tagWel);