mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:53:27 +08:00
【修复】修复安卓环境,未登录用户点击商品详情的立即购买,因this作用域导致登录Token设置失败问题。
This commit is contained in:
@@ -318,7 +318,7 @@
|
||||
|
||||
_this.$u.api.smsLogin(data).then(res => {
|
||||
if (res.status) {
|
||||
this.$db.set('userToken', res.data.token);
|
||||
_this.$db.set('userToken', res.data.token);
|
||||
_this.redirectHandler(res.msg);
|
||||
} else {
|
||||
_this.$u.toast(res.msg);
|
||||
|
||||
Reference in New Issue
Block a user