积分申请
This commit is contained in:
@@ -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 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user