|
@@ -203,14 +203,14 @@ export default {
|
|
this.$store.dispatch('LoginERP', data).then((res) => {
|
|
this.$store.dispatch('LoginERP', data).then((res) => {
|
|
this.$router.push({ path: '/dashboard' }).catch(() => {})
|
|
this.$router.push({ path: '/dashboard' }).catch(() => {})
|
|
}).catch((err) => {
|
|
}).catch((err) => {
|
|
- location.href = '/dashboard'
|
|
|
|
|
|
+ location.href = '/wyxtweb/#/'
|
|
})
|
|
})
|
|
},
|
|
},
|
|
handleLoginSaaS(data) { // SaaS登录
|
|
handleLoginSaaS(data) { // SaaS登录
|
|
this.$store.dispatch('Login', data).then((res) => {
|
|
this.$store.dispatch('Login', data).then((res) => {
|
|
this.$router.push({ path: '/dashboard' })
|
|
this.$router.push({ path: '/dashboard' })
|
|
}).catch((err) => {
|
|
}).catch((err) => {
|
|
- location.href = ''
|
|
|
|
|
|
+ location.href = '/wyxtweb/#/'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|