Commit e09cb261 by zhangzhen

细节优化

parent eef3406b
...@@ -102,8 +102,13 @@ ...@@ -102,8 +102,13 @@
uni.showLoading({ uni.showLoading({
title:"券码核验中" title:"券码核验中"
}) })
let qrCode = this.code.split(" ").join("")
if(/http/g.test(qrCode)){
this.code = ""
}
couponChecked({ couponChecked({
code:this.code.split(" ").join(""), code: qrCode,
storeId:uni.getStorageSync('storeId') storeId:uni.getStorageSync('storeId')
}).then(res=>{ }).then(res=>{
uni.hideLoading() uni.hideLoading()
......
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