fix: 删除 ua

This commit is contained in:
zhangds 2024-04-25 13:56:18 +08:00
parent 6b5ba08aba
commit 014bcb77b1
1 changed files with 0 additions and 1 deletions

View File

@ -253,7 +253,6 @@
if (res.code == 200) {
localStorage.setItem("lastid", self.goodInfo.product_id);
this.orderId = res.data.order_number;
const ua = navigator.userAgent.toLowerCase();
// 第一步:是否是微信环境 -> 公众号授权
if (self.openId && navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1) {
this.publicCollection(res.data.order_number);