100J4Gbug已修复完成
This commit is contained in:
@ -216,7 +216,7 @@
|
||||
const res = await deviceShareAdd({
|
||||
phonenumber: this.phone,
|
||||
smsCode: this.code,
|
||||
deviceId: this.itemInfo.id,
|
||||
deviceId: this.itemInfo.id || this.itemInfo.deviceId,
|
||||
permission: selectedPermissions.join(',')
|
||||
})
|
||||
|
||||
@ -250,8 +250,8 @@
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
// 监听 'shareDevice' 事件,获取传过来的数据
|
||||
eventChannel.on('shareDevice', (data) => {
|
||||
console.log(data, 'data1t111');
|
||||
this.itemInfo = data.data;
|
||||
console.log(this.itemInfo,'this.itemInfo');
|
||||
this.permissions=Common.getPermissions(this.itemInfo.persissonType);
|
||||
console.log(this.itemInfo.persissonType,'this.itemInfo.persissonType');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user