Commit 0e5fe56c authored by Xuguangxing's avatar Xuguangxing

feat: fix

parent 74f95e01
......@@ -129,8 +129,8 @@ export default {
console.log(err);
},
complete({ hash }) {
console.log('success', config.qiniuHost, hash);
const fileLink = config.qiniuHost + hash;
console.log('pic create success', fileLink);
_this.$emit('outputPicUrl', fileLink);
}
};
......
......@@ -88,7 +88,7 @@
/>
</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" />
</div>
</template>
......@@ -200,7 +200,7 @@ export default {
this.shareInfo = {
title: this.detailInfo.goodsName,
desc: '',
link: link || '', // 页面地址
link: config.localHost + link || '', // 页面地址
imgUrl: this.detailInfo.thumbImageUrl, // 图片地
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