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