Commit aceecb27 authored by youjie's avatar youjie

no message

parent 7c410c60
...@@ -278,14 +278,14 @@ ...@@ -278,14 +278,14 @@
async QRcode(){ async QRcode(){
uni.showLoading() uni.showLoading()
let msg = { let msg = {
url: `/pages/FriendsAndRelatives/addFriendsAndRelatives?unionid=${encodeURIComponent(data.wxUserAuthInfo.unionid)}&AccountName=${encodeURIComponent(data.erpUserInfo.AccountName)}`,//"www.baidu.com", url: `/pages/FriendsAndRelatives/addFriendsAndRelatives?unionid=${data.wxUserAuthInfo.unionid}&AccountName=${data.erpUserInfo.AccountName}`,
width: 200 width: 200
} }
let res = await CreateFriendQrCode(msg); let res = await CreateFriendQrCode(msg);
if (res) { if (res) {
uni.hideLoading() uni.hideLoading()
data.QRcodeImg = data.erpUrl+res.Data data.QRcodeImg = data.erpUrl+res.Data
console.log(data.QRcodeImg,'----') // console.log(data.QRcodeImg,'----')
data.showPopup = true data.showPopup = true
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment