|
@@ -207,14 +207,14 @@ export default {
|
|
|
this.$store.dispatch("LoginERP", data).then((res) => {
|
|
|
this.$router.push({ path: "/index"}).catch(()=>{});
|
|
|
}).catch((err) => {
|
|
|
- location.href = '/#/login';
|
|
|
+ location.href = '/dmweb/#/login';
|
|
|
});
|
|
|
},
|
|
|
handleLoginSaaS(data) {//SaaS登录
|
|
|
this.$store.dispatch("LoginSaaS", data).then((res) => {
|
|
|
this.$router.push({ path: "/index"});
|
|
|
}).catch(()=>{
|
|
|
- location.href = '';
|
|
|
+ location.href = '/dmweb/#/';
|
|
|
})
|
|
|
}
|
|
|
}
|