Commit 0e5fe56c authored by Xuguangxing's avatar Xuguangxing

feat: fix

parent 74f95e01
...@@ -129,8 +129,8 @@ export default { ...@@ -129,8 +129,8 @@ export default {
console.log(err); console.log(err);
}, },
complete({ hash }) { complete({ hash }) {
console.log('success', config.qiniuHost, hash);
const fileLink = config.qiniuHost + hash; const fileLink = config.qiniuHost + hash;
console.log('pic create success', fileLink);
_this.$emit('outputPicUrl', fileLink); _this.$emit('outputPicUrl', fileLink);
} }
}; };
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
/> />
</div> </div>
</div> </div>
<bottom-nav v-if="showButtonNav" :status="2" :disabled="false" @share="shareTo" /> <bottom-nav v-if="showButtonNav" :status="2" :disabled="false" @share="setShareData" />
<sharePic ref="sharePic" :share-pic-data="sharePicData" @outputPicUrl="outputPicUrl" /> <sharePic ref="sharePic" :share-pic-data="sharePicData" @outputPicUrl="outputPicUrl" />
</div> </div>
</template> </template>
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
this.shareInfo = { this.shareInfo = {
title: this.detailInfo.goodsName, title: this.detailInfo.goodsName,
desc: '', desc: '',
link: link || '', // 页面地址 link: config.localHost + link || '', // 页面地址
imgUrl: this.detailInfo.thumbImageUrl, // 图片地 imgUrl: this.detailInfo.thumbImageUrl, // 图片地
posterUrl: res || '' posterUrl: res || ''
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment