Commit 3186589c by lijiabin

【需求 25171】 fix: 优化

parent 8cb9fc29
...@@ -357,12 +357,13 @@ const isAuthor = computed(() => { ...@@ -357,12 +357,13 @@ const isAuthor = computed(() => {
return articleDetail.createUserId === userInfo.value.userId return articleDetail.createUserId === userInfo.value.userId
}) })
// 如果类型是帖子 专栏 和 专访 就是html // 如果类型是帖子 专栏 和 专访 和 问吧 就是html
const isHtml = computed(() => { const isHtml = computed(() => {
return ( return (
articleDetail.type === ArticleTypeEnum.POST || articleDetail.type === ArticleTypeEnum.POST ||
articleDetail.type === ArticleTypeEnum.COLUMN || articleDetail.type === ArticleTypeEnum.COLUMN ||
articleDetail.type === ArticleTypeEnum.INTERVIEW articleDetail.type === ArticleTypeEnum.INTERVIEW ||
articleDetail.type === ArticleTypeEnum.QUESTION
) )
}) })
......
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