wangtao 2 лет назад
Родитель
Сommit
9e4fdd415c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/views/login.vue

+ 2 - 2
src/views/login.vue

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