Commit cee43ac5 by 匡雅琴

修改类型

1 parent 0c837071
......@@ -84,7 +84,9 @@
<div slot="materialType" slot-scope="scope">
<span v-if="scope.scope.materialType == 1">pdf文件</span>
<span v-if="scope.scope.materialType == 2">自定义链接</span>
<span v-if="scope.scope.materialType == 3">图文</span>
<span v-if="scope.scope.urlType == 'video'">视频</span>
<span v-if="scope.scope.urlType == 'img'">图文</span>
<span v-if="!scope.scope.urlType && scope.scope.materialType == 3">纯文字</span>
</div>
<span slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
......@@ -524,8 +526,6 @@ export default {
item.materialContentRpcResponse.materialUrl = imgSrc[1]
item.urlType = 'img'
item.imgCount = imgHtml.length
} else {
item.materialContentRpcResponse.materialUrl = ''
}
if (videoHtml) {
let videoSrc = videoHtml[0].match('<video[^<>]*? src="([^<>]*?)"')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!