Ver código fonte

变更前后支持标签显示

祁鹏飞 1 mês atrás
pai
commit
5915f63241
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/systemManage/logManage/logDetail.vue

+ 2 - 2
src/views/systemManage/logManage/logDetail.vue

@@ -20,7 +20,7 @@
         <div class="list">
           <el-row class="list-item" :gutter="20" v-for="item in detailData?.compareResultList" :key="item">
             <el-col :span="6">{{ item.name }}</el-col>
-            <el-col :span="18" style="color: #606266">{{ item.fieldContent }}</el-col>
+            <el-col :span="18" style="color: #606266" v-html="item.fieldContent"></el-col>
           </el-row>
         </div>
       </el-col>
@@ -30,7 +30,7 @@
         <div class="list">
           <el-row class="list-item" :gutter="20" v-for="item in detailData?.compareResultList" :key="item">
             <el-col :span="6">{{ item.name }}</el-col>
-            <el-col :span="18" style="color: #606266">{{ item.newFieldContent }}</el-col>
+            <el-col :span="18" style="color: #606266" v-html="item.newFieldContent"></el-col>
           </el-row>
         </div>
       </el-col>