From a7f94ddff26d94739dd4a1c851caaf6f059e205a Mon Sep 17 00:00:00 2001 From: lfs3 Date: Tue, 23 Jul 2019 15:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BA=AB=E5=8F=82=E6=95=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/wxShare.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/wxShare.js b/src/models/wxShare.js index 4658f93..248f0b9 100644 --- a/src/models/wxShare.js +++ b/src/models/wxShare.js @@ -3,7 +3,6 @@ import wx from "weixin-js-sdk"; import axios from "axios"; import wxShareModel from "../models/wxShare-model.js"; import homeApi from "../models/home-model.js"; -import Qs from 'qs'; //微信分享功能 Vue.prototype.wxShare = function(params) { @@ -31,7 +30,7 @@ Vue.prototype.wxShare = function(params) { ] }); var urlParams = ''; - let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId + let uuniqueId = this.$cookies.get('1hjz_mall_unique_id') if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ urlParams = '?uniqueId='+ uuniqueId }