Commit f2b6419d by 张立顺

feat sessionid 添加

1 parent 6389984a
......@@ -230,7 +230,7 @@ export default {
mounted() {
this.timeInterval = setInterval(() => this.refreshTime(), 1000)
this.$event.$on("e-reg-dialog", (res) => (this.registerDialogVisible = res))
this.scrmLogin()
// this.scrmLogin()
// this.ssoLogin()
},
beforeDestroy() {
......@@ -301,6 +301,7 @@ export default {
}
selectAccount(params).then((res) => {
util.cookies.set("token", res.sessionId)
this.actionSetScrmInfo({ sessionId: res.sessionId, merchantId: +currentItem.merchantNo })
// console.log(currentItem)
getUserInfo({})
.then((userInfo) => {
......@@ -376,8 +377,6 @@ export default {
}
}
)
// 账户中心登录
}
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!