|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
return JSON.parse(JSON.stringify(s))
|
|
|
},
|
|
|
sweepBtn() {
|
|
|
- if (this.$isWechat) {
|
|
|
+ if (this.$isWechat()) {
|
|
|
this.$refs.weChatQrcodeRef.open()
|
|
|
} else {
|
|
|
this.$refs.qrScannerRef.open()
|
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
},
|
|
|
sweepSuccess(result) {
|
|
|
this.checkJson.answer2 = result
|
|
|
- if (this.$isWechat) {
|
|
|
+ if (this.$isWechat()) {
|
|
|
this.$refs.weChatQrcodeRef.close()
|
|
|
} else {
|
|
|
this.$refs.qrScannerRef.close()
|