1
0
forked from dyf/APP

修复从我的分享进入设备页有权限验证的问题

This commit is contained in:
liub
2026-02-07 13:52:40 +08:00
parent 4a7af6d093
commit 8f211750b0
3 changed files with 26 additions and 13 deletions

View File

@ -147,7 +147,7 @@
// 页面跳转成功后的回调函数
res.eventChannel.emit('detailData', {
data: item,
apiType: 'listB' // 自定义标识 // 自定义标识,详情哪里根据这个参数不同信息
apiType:this.activeTab===0?'listA':'listB' // 自定义标识 // 自定义标识,详情哪里根据这个参数不同信息
});
}
})

View File

@ -91,9 +91,9 @@
</MessagePopup>
<view class="displayNone">
<!-- <view class="displayNone">
<audio :src="cPlay.src" :id="cPlay.Id" :name="cPlay.name" author=""></audio>
</view>
</view> -->
<global-loading ref="loading"></global-loading>
</view>
@ -216,16 +216,16 @@
statu: "", //状态,是否公开
isApply: "" //是否使用中
},
cPlay: {
Id: "", //编号
name: "", //名称
createTime: "", //创建时间
localPath: "", //本地地址
webPath: "", //网络地址
statu: "", //状态,是否公开
isApply: "" //是否使用中
}
}//,
// cPlay: {
// Id: "", //编号
// name: "", //名称
// createTime: "", //创建时间
// localPath: "", //本地地址
// webPath: "", //网络地址
// statu: "", //状态,是否公开
// isApply: "" //是否使用中
// }
}
},
onLoad() {

View File

@ -147,6 +147,19 @@
});
return false;
}
else{
let phone= uni.getStorageSync('phone');
if(phone==phoneNumber){
uni.showToast({
title: '手机号不能是自己账号',
icon: 'none',
duration: 1000
});
return false;
}
}
try {
await deviceShareCode({
phonenumber: this.phone