')) { + return trimmed; + } + // 如果没有包裹,则手动包裹 + return `
${trimmed}
`; +}, getData() { const loading = this.$loading({ lock: true, @@ -1671,7 +1680,7 @@ export default { this.tradition = null; this.mhooStr = null; - + // 获取文章信息 this.$api @@ -1680,6 +1689,7 @@ export default { if (res.code == 0) { this.abstract = res.data.production.abstract ? res.data.production.abstract : ''; + this.tradition = res.data.production.tradition ? res.data.production.tradition : ''; this.mhooStr = res.data.production.mhoo ? res.data.production.mhoo : '';