yuhan 2 mēneši atpakaļ
vecāks
revīzija
38437b3f89
2 mainītis faili ar 4 papildinājumiem un 8 dzēšanām
  1. 2 4
      src/views/user/Login.vue
  2. 2 4
      src/views/user/OrgLogin.vue

+ 2 - 4
src/views/user/Login.vue

@@ -56,8 +56,6 @@ import LoginAccount from './LoginAccount'
 import LoginSso from './LoginSSO'
 // import LoginPhone from './LoginPhone'
 
-import { INDEX_MAIN_PAGE_PATH } from '@/store/mutation-types'
-
 export default {
     components: {
       LoginSelectTenant,
@@ -140,9 +138,9 @@ export default {
       },
       //登录成功
       loginSuccess () {
-        this.$router.push({ path: INDEX_MAIN_PAGE_PATH }).catch(()=>{
+        this.$router.push({ path: "/interLock/summary" }).catch(()=>{
         // this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
-          // console.log('登录跳转首页出错,这个错误从哪里来的')
+          console.log('登录跳转首页出错,这个错误从哪里来的')
         })
         this.$notification.success({
           message: '欢迎',

+ 2 - 4
src/views/user/OrgLogin.vue

@@ -55,8 +55,6 @@ import LoginAccount from './LoginAccount'
 import LoginSso from './LoginSSO'
 // import LoginPhone from './LoginPhone'
 
-import { INDEX_MAIN_PAGE_PATH } from '@/store/mutation-types'
-
 export default {
     components: {
       LoginSelectTenant,
@@ -139,9 +137,9 @@ export default {
       },
       //登录成功
       loginSuccess () {
-        this.$router.push({ path: INDEX_MAIN_PAGE_PATH }).catch(()=>{
+        this.$router.push({ path: "/interLock/summary" }).catch(()=>{
         // this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
-          // console.log('登录跳转首页出错,这个错误从哪里来的')
+          console.log('登录跳转首页出错,这个错误从哪里来的')
         })
         this.$notification.success({
           message: '欢迎',