wangtao 2 роки тому
батько
коміт
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/#/';
       });
     }
   }