LAPTOP-FO2T5SIU\35838 4 mēneši atpakaļ
vecāks
revīzija
2817c9d365
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/views/singleLogin/ssoLogin.vue

+ 2 - 1
src/views/singleLogin/ssoLogin.vue

@@ -47,7 +47,8 @@ export default {
                     .then((res) => {
                         console.log('res', res)
                         if (res.result) {
-                            this.$router.push({ path: '/backstage?menuIndex=1296067156231847936&subMenu=1296067784098185216' })
+                            // this.$router.push({ path: '/backstage?menuIndex=1296067156231847936&subMenu=1296067784098185216' })
+                            this.$router.push({ path: res.url })
                         } else {
                             this.$message(res.msg)
                             this.$router.push({ path: '/login' }).catch(() => {})