loading
This commit is contained in:
@@ -193,7 +193,8 @@ export default {
|
||||
this.getType()
|
||||
},
|
||||
scan() {
|
||||
this.injectJWeixin(['scanQRCode']).then(() => {
|
||||
this.$loading()
|
||||
this.injectJWeixin('scanQRCode').then(() => {
|
||||
wx.scanQRCode({
|
||||
desc: '扫描居民信息',
|
||||
needResult: 1, // 默认为0,扫描结果由企业微信处理,1则直接返回扫描结果,
|
||||
@@ -204,6 +205,7 @@ export default {
|
||||
info.realName = info.name
|
||||
var userList = [{...info}]
|
||||
this.handleSelectUser(userList)
|
||||
uni.hideLoading()
|
||||
},
|
||||
error: (res) => {
|
||||
console.log(res)
|
||||
|
||||
Reference in New Issue
Block a user