670小问题修复
This commit is contained in:
@ -200,13 +200,13 @@
|
||||
const selectedPermissions = this.permissions.filter(permission => permission.checked).map(
|
||||
permission =>
|
||||
permission.value);
|
||||
// const res = await deviceShareAdd({
|
||||
// phonenumber: this.phone,
|
||||
// smsCode: this.code,
|
||||
// deviceId: this.itemInfo.id,
|
||||
// permission: selectedPermissions.join(',')
|
||||
// })
|
||||
let res={code:200};
|
||||
const res = await deviceShareAdd({
|
||||
phonenumber: this.phone,
|
||||
smsCode: this.code,
|
||||
deviceId: this.itemInfo.id,
|
||||
permission: selectedPermissions.join(',')
|
||||
})
|
||||
|
||||
if (res.code == 200) {
|
||||
this.shareShow = true
|
||||
uni.hideLoading()
|
||||
|
||||
Reference in New Issue
Block a user