|
|
@@ -108,13 +108,14 @@
|
|
|
this.toggleEnterprises()
|
|
|
this.$http.get(`/user/authentication/${en.uu}`).then(() => {
|
|
|
this.$store.dispatch('loadUserInfo')
|
|
|
- let href = window.location.href
|
|
|
- let hrefPath = href.slice(href.length - 14, href.length)
|
|
|
- if (hrefPath === 'register-saler' && en.uu !== 0 && en.isVendor === 313) {
|
|
|
- window.location.href = '/vendor#/index'
|
|
|
- } else {
|
|
|
- window.location.reload()
|
|
|
- }
|
|
|
+// let href = window.location.href
|
|
|
+// let hrefPath = href.slice(href.length - 14, href.length)
|
|
|
+// if (hrefPath === 'register-saler' && en.uu !== 0 && en.isVendor === 313) {
|
|
|
+// window.location.href = '/vendor#/index'
|
|
|
+// } else {
|
|
|
+// window.location.reload()
|
|
|
+// }
|
|
|
+ window.location.href = '/'
|
|
|
})
|
|
|
},
|
|
|
toVendor: function () {
|