yuhan 2 months ago
parent
commit
38437b3f89
2 changed files with 4 additions and 8 deletions
  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 LoginSso from './LoginSSO'
 // import LoginPhone from './LoginPhone'
 // import LoginPhone from './LoginPhone'
 
 
-import { INDEX_MAIN_PAGE_PATH } from '@/store/mutation-types'
-
 export default {
 export default {
     components: {
     components: {
       LoginSelectTenant,
       LoginSelectTenant,
@@ -140,9 +138,9 @@ export default {
       },
       },
       //登录成功
       //登录成功
       loginSuccess () {
       loginSuccess () {
-        this.$router.push({ path: INDEX_MAIN_PAGE_PATH }).catch(()=>{
+        this.$router.push({ path: "/interLock/summary" }).catch(()=>{
         // this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
         // this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{
-          // console.log('登录跳转首页出错,这个错误从哪里来的')
+          console.log('登录跳转首页出错,这个错误从哪里来的')
         })
         })
         this.$notification.success({
         this.$notification.success({
           message: '欢迎',
           message: '欢迎',

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

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