|
|
@@ -18,7 +18,7 @@
|
|
|
<svg-icon slot="prefix" icon-class="login_password_pad" class="el-input__icon input-icon" />
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="code" v-if="captchaOnOff" >
|
|
|
+ <el-form-item prop="code" v-if="captchaOnOff">
|
|
|
<div class="display-row" style="margin-top:10px;">
|
|
|
<el-input v-model="loginForm.code" auto-complete="off" placeholder="请输入验证码"
|
|
|
style="width: 62%;margin-top:20px" @keyup.enter.native="handleLogin" class="custom-input-style">
|
|
|
@@ -228,14 +228,23 @@
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- this.$router.push({
|
|
|
- //path: this.redirect || "/"
|
|
|
- path: "/news/highlights"
|
|
|
- }).catch(() => {});
|
|
|
+
|
|
|
+ this.$router.push({
|
|
|
+ //path: this.redirect || "/"
|
|
|
+ path: "/news/highlights"
|
|
|
+ }).catch(() => {});
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ checkMobile() {
|
|
|
+ const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
|
|
+ const isMOBILE = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent);
|
|
|
+ // console.log('isMobile:',this.isMobile);
|
|
|
+ return isMOBILE;
|
|
|
+ },
|
|
|
// getDefault() {
|
|
|
// this.changeGray = true;
|
|
|
// this.$store.dispatch('settings/changeSetting', {
|
|
|
@@ -341,10 +350,13 @@
|
|
|
}
|
|
|
this.$store.dispatch("Login", this.loginForm).then(() => {
|
|
|
// this.getDefault()
|
|
|
+ // this.$router.push({
|
|
|
+ // //path: this.redirect || "/"
|
|
|
+ // path: "/news/highlights"
|
|
|
+ // }).catch(() => {});
|
|
|
this.$router.push({
|
|
|
- //path: this.redirect || "/"
|
|
|
- path: "/news/highlights"
|
|
|
- }).catch(() => {});
|
|
|
+ path: "/meeting_pad",
|
|
|
+ });
|
|
|
|
|
|
}).catch(() => {
|
|
|
this.loading = false;
|