diff --git a/pages/common/allShare/index.vue b/pages/common/allShare/index.vue index 5da6725..02ff8d3 100644 --- a/pages/common/allShare/index.vue +++ b/pages/common/allShare/index.vue @@ -147,7 +147,7 @@ // 页面跳转成功后的回调函数 res.eventChannel.emit('detailData', { data: item, - apiType: 'listB' // 自定义标识 // 自定义标识,详情哪里根据这个参数不同信息 + apiType:this.activeTab===0?'listA':'listB' // 自定义标识 // 自定义标识,详情哪里根据这个参数不同信息 }); } }) diff --git a/pages/common/audioManager/AudioList.vue b/pages/common/audioManager/AudioList.vue index 883141f..1015b47 100644 --- a/pages/common/audioManager/AudioList.vue +++ b/pages/common/audioManager/AudioList.vue @@ -91,9 +91,9 @@ - + @@ -216,16 +216,16 @@ statu: "", //状态,是否公开 isApply: "" //是否使用中 - }, - cPlay: { - Id: "", //编号 - name: "", //名称 - createTime: "", //创建时间 - localPath: "", //本地地址 - webPath: "", //网络地址 - statu: "", //状态,是否公开 - isApply: "" //是否使用中 - } + }//, + // cPlay: { + // Id: "", //编号 + // name: "", //名称 + // createTime: "", //创建时间 + // localPath: "", //本地地址 + // webPath: "", //网络地址 + // statu: "", //状态,是否公开 + // isApply: "" //是否使用中 + // } } }, onLoad() { diff --git a/pages/common/shareDevices/index.vue b/pages/common/shareDevices/index.vue index a994a7b..55bbeca 100644 --- a/pages/common/shareDevices/index.vue +++ b/pages/common/shareDevices/index.vue @@ -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