|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
return JSON.parse(JSON.stringify(s))
|
|
|
},
|
|
|
sweepBtn() {
|
|
|
- if (this.isWechatBrowser) {
|
|
|
+ if (!this.isWechatBrowser) {
|
|
|
this.$refs.weChatQrcodeRef.open()
|
|
|
} else {
|
|
|
this.$refs.qrScannerRef.open()
|
|
|
@@ -93,7 +93,7 @@ export default {
|
|
|
const _valueAndTime = this.extractValueAndTime(result)
|
|
|
|
|
|
if (!_valueAndTime) {
|
|
|
- if (this.isWechatBrowser) {
|
|
|
+ if (!this.isWechatBrowser) {
|
|
|
this.$refs.weChatQrcodeRef.close()
|
|
|
} else {
|
|
|
this.$refs.qrScannerRef.close()
|
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
}
|
|
|
console.log(_valueAndTime)
|
|
|
// this.checkJson.answer2 = result;
|
|
|
- if (this.isWechatBrowser) {
|
|
|
+ if (!this.isWechatBrowser) {
|
|
|
this.$refs.weChatQrcodeRef.close()
|
|
|
} else {
|
|
|
this.$refs.qrScannerRef.close()
|