|
@@ -1054,7 +1054,8 @@ export const wxScanCode = function (scanType = ['qrCode', 'barCode']) {
|
|
|
var result = res.resultStr
|
|
|
var resultArr = result.split(',')
|
|
|
var codeVal = resultArr[resultArr.length - 1]
|
|
|
- resolve(codeVal)
|
|
|
+ var codeValStr = codeVal.split('=')
|
|
|
+ resolve(codeValStr[codeValStr.length - 1])
|
|
|
},
|
|
|
fail: res => {
|
|
|
reject('')
|