fix: 删除 ua
This commit is contained in:
parent
6b5ba08aba
commit
014bcb77b1
|
@ -253,7 +253,6 @@
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
localStorage.setItem("lastid", self.goodInfo.product_id);
|
localStorage.setItem("lastid", self.goodInfo.product_id);
|
||||||
this.orderId = res.data.order_number;
|
this.orderId = res.data.order_number;
|
||||||
const ua = navigator.userAgent.toLowerCase();
|
|
||||||
// 第一步:是否是微信环境 -> 公众号授权
|
// 第一步:是否是微信环境 -> 公众号授权
|
||||||
if (self.openId && navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1) {
|
if (self.openId && navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1) {
|
||||||
this.publicCollection(res.data.order_number);
|
this.publicCollection(res.data.order_number);
|
||||||
|
|
Loading…
Reference in New Issue