描述支持html

master
tanghc 3 years ago
parent f974d75f45
commit a4ad90c90e
  1. 2
      sop-website/sop-website-vue/src/components/DocView/index.vue

@ -17,7 +17,7 @@
<el-table-column prop="versionValue" width="120" />
</el-table>
<h3>接口描述</h3>
<div class="doc-overview">{{ docInfo.description || docInfo.title }}</div>
<div class="doc-overview" v-html="docInfo.description || docInfo.title"></div>
<h3>请求地址</h3>
<el-table
:data="[{ envLabel: '环境', envValue: '正式环境', urlLabel: '请求地址', urlValue: urlProd }]"

Loading…
Cancel
Save