Commit 4b068d31 by 李伟康

提交

1 parent 59b629b1
......@@ -167,12 +167,18 @@ export default {
this.hideLoading()
this.flag = true
if (!res) return
// res.additionalType = 4
// res.wwMomentContent.contentType = 2
// res.wwMomentContent.imgUrls = ['https://scrm.test.glsx.com.cn/group1/M00/04/EA/wKgD3mR5nVyAdMiUAAYvJL7-kMI168.jpg','https://scrm.test.glsx.com.cn/group1/M00/05/12/wKgD3mSKt-aAYf7KAACZqFRuQOs629.png','https://scrm.test.glsx.com.cn/group1/M00/05/12/wKgD3mSJfjWAOWA7AADndrNWXeI245.jpg','https://scrm.test.glsx.com.cn/group1/M00/05/12/wKgD3mSJfjWAOWA7AADndrNWXeI245.jpg','https://scrm.test.glsx.com.cn/group1/M00/05/12/wKgD3mSJfnKATcHtAAeXFLLDwXM784.png']
// this.defaultTitle = `「${userName}」邀请您查看「${res.userName}」`
this.richText = encodeURIComponent(this.getRichText(res.eventContent))
this.editForm = res
console.log(this.editForm)
/// 朋友圈模板,单/多图
if (res.additionalType == '4' && [1, 2].includes(res.wwMomentContent.contentType)) this.setMutiHeight()
if (res.additionalType == '4' && [1, 2].includes(res.wwMomentContent.contentType)) this.$nextTick(()=>{
this.setMutiHeight()
})
})
},
setMutiHeight () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!