MY-SH\lenovo 4 months ago
parent 573a36adf7
commit fd95b740d9

@ -110,6 +110,7 @@
//
async function getPoster() {
console.log('获得海报数据接口');
painterImageUrl.value = undefined
poster.views = await getPosterData({
width: poster.css.width,

@ -88,13 +88,17 @@
//
const onShareByPoster = async () => {
closeShareModal();
console.log(sheep.$store('user').isLogin,'sheep$store(user)isLogin111111111111')
if (!sheep.$store('user').isLogin) {
showAuthModal();
console.log('打开授权弹框11111111111111111')
return;
}
console.log(props.shareInfo);
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: '无权推广',
@ -103,6 +107,7 @@
})
}else{
state.showPosterModal = true;
console.log('改变showPosterModal的值为true应是显示弹框11111111111111111');
}
};

Loading…
Cancel
Save