|
|
|
@ -95,20 +95,22 @@
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
console.log(props.shareInfo,'1111');
|
|
|
|
|
const res = await unref(SharePosterRef).getPoster();
|
|
|
|
|
console.log(res,'不知名方法海报getPoster1111111111111111111');
|
|
|
|
|
const isHave = res[3].src.slice(-5)
|
|
|
|
|
console.log(isHave,'isHave判断什么存在11111111111111111');
|
|
|
|
|
if (isHave===",null"){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '无权推广',
|
|
|
|
|
duration: 2000,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
}else{
|
|
|
|
|
state.showPosterModal = true;
|
|
|
|
|
console.log('改变showPosterModal的值为true,应是显示弹框11111111111111111');
|
|
|
|
|
}
|
|
|
|
|
unref(SharePosterRef).getPoster();
|
|
|
|
|
state.showPosterModal = true;
|
|
|
|
|
// const res = await unref(SharePosterRef).getPoster();
|
|
|
|
|
// console.log(res,'不知名方法海报getPoster1111111111111111111');
|
|
|
|
|
// const isHave = res[3].src.slice(-5)
|
|
|
|
|
// console.log(isHave,'isHave判断什么存在11111111111111111');
|
|
|
|
|
// if (isHave===",null"){
|
|
|
|
|
// uni.showToast({
|
|
|
|
|
// title: '无权推广',
|
|
|
|
|
// duration: 2000,
|
|
|
|
|
// icon: 'none'
|
|
|
|
|
// })
|
|
|
|
|
// }else{
|
|
|
|
|
// state.showPosterModal = true;
|
|
|
|
|
// console.log('改变showPosterModal的值为true,应是显示弹框11111111111111111');
|
|
|
|
|
// }
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 操作 ①:直接转发分享
|
|
|
|
|