Commit b478b0f6 by 李伟康

修复BUG

1 parent 5b155e97
...@@ -22,29 +22,30 @@ ...@@ -22,29 +22,30 @@
v-if="editForm.additionalType == '4'" v-if="editForm.additionalType == '4'"
> >
<div class="text">{{ editForm.wwMomentContent.text || ''}}</div> <div class="text">{{ editForm.wwMomentContent.text || ''}}</div>
<div <template v-if="editForm.wwMomentContent.contentType != 0">
ref="wechatMutiImg" <div
v-if="[1,2].includes(editForm.wwMomentContent.contentType)" ref="wechatMutiImg"
class="wechat-muti-img" v-if="[1,2].includes(editForm.wwMomentContent.contentType)"
> class="wechat-muti-img"
<img >
ref="mutiImgItem" <img
class="muti-img-item" ref="mutiImgItem"
v-for="(item, index) in editForm.wwMomentContent.imgUrls" class="muti-img-item"
:key="index" v-for="(item, index) in editForm.wwMomentContent.imgUrls"
:src="item" :key="index"
/> :src="item"
</div> />
<div </div>
v-else <div
class="wechat-muti-video" v-else
> class="wechat-muti-video"
<video >
:src="editForm.wwMomentContent.videoContent.videoUrl" <video
controls :src="editForm.wwMomentContent.videoContent.videoUrl"
></video> controls
</div> ></video>
<div></div> </div>
</template>
</div> </div>
<!-- 短链(素材,活动,优惠券) --> <!-- 短链(素材,活动,优惠券) -->
<div <div
...@@ -220,10 +221,10 @@ export default { ...@@ -220,10 +221,10 @@ export default {
// obj = { // obj = {
// attachments: [ // attachments: [
// { // {
// msgtype: 'video', // // msgtype: 'video',
// video: { // // video: {
// mediaid: '3r4tkaE7wkB0MSBoyOL7MvVRHbiZQ0DoUkQ8umFvGwthy4npoUBrE30n9wIt8BHiU' // // mediaid: '3r4tkaE7wkB0MSBoyOL7MvVRHbiZQ0DoUkQ8umFvGwthy4npoUBrE30n9wIt8BHiU'
// } // // },
// // msgtype: 'image', // // msgtype: 'image',
// // image: { // // image: {
// // mediaid: '3zP79XZIMyCtlbTEDG9zPnheeOQsBS4Iz_SkGIcH05bLhHUGLPQsYQLPWy_7BmzlZ' // // mediaid: '3zP79XZIMyCtlbTEDG9zPnheeOQsBS4Iz_SkGIcH05bLhHUGLPQsYQLPWy_7BmzlZ'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!