积分申请

This commit is contained in:
liuye
2023-07-05 11:52:27 +08:00
parent 422422f768
commit 21c00e2175

View File

@@ -105,9 +105,6 @@ export default {
}, },
onShow() { onShow() {
document.title = '积分代申请' document.title = '积分代申请'
this.$nextTick(() => {
this.injectJWeixin(['scanQRCode'])
})
}, },
methods: { methods: {
...mapActions(['injectJWeixin']), ...mapActions(['injectJWeixin']),
@@ -195,6 +192,7 @@ export default {
this.getType() this.getType()
}, },
scan() { scan() {
this.injectJWeixin(['scanQRCode']).then(() => {
wx.scanQRCode({ wx.scanQRCode({
desc: '扫描居民信息', desc: '扫描居民信息',
needResult: 1, // 默认为0扫描结果由企业微信处理1则直接返回扫描结果 needResult: 1, // 默认为0扫描结果由企业微信处理1则直接返回扫描结果
@@ -213,6 +211,7 @@ export default {
} }
} }
}); });
})
} }
} }
} }