diff --git a/yudao-mall-uniapp-master/sheep/components/s-share-modal/canvas-poster/index.vue b/yudao-mall-uniapp-master/sheep/components/s-share-modal/canvas-poster/index.vue index 5d9d73a..38a66bf 100644 --- a/yudao-mall-uniapp-master/sheep/components/s-share-modal/canvas-poster/index.vue +++ b/yudao-mall-uniapp-master/sheep/components/s-share-modal/canvas-poster/index.vue @@ -117,7 +117,7 @@ shareInfo: props.shareInfo, }); await renderPoster(); - return poster.views + // return poster.views } defineExpose({ getPoster, diff --git a/yudao-mall-uniapp-master/sheep/components/s-share-modal/s-share-modal.vue b/yudao-mall-uniapp-master/sheep/components/s-share-modal/s-share-modal.vue index 7bb7d9c..ea7e632 100644 --- a/yudao-mall-uniapp-master/sheep/components/s-share-modal/s-share-modal.vue +++ b/yudao-mall-uniapp-master/sheep/components/s-share-modal/s-share-modal.vue @@ -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'); + // } }; // 操作 ①:直接转发分享 diff --git a/yudao-mall-uniapp-master/uni_modules/lime-painter/components/l-painter/l-painter.vue b/yudao-mall-uniapp-master/uni_modules/lime-painter/components/l-painter/l-painter.vue index 83926fd..647b133 100644 --- a/yudao-mall-uniapp-master/uni_modules/lime-painter/components/l-painter/l-painter.vue +++ b/yudao-mall-uniapp-master/uni_modules/lime-painter/components/l-painter/l-painter.vue @@ -189,6 +189,7 @@ }) }, async render(args = {}) { + console.log(args,'+1 render方法执行'); if(!Object.keys(args).length) { return console.error('空对象') }