Commit 4e0202e3 by qiyeqing

全局搜素

1 parent 947a6c6f
...@@ -39,8 +39,9 @@ ...@@ -39,8 +39,9 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="name" label=" 内容"> <el-table-column prop="name" label=" 内容">
<template slot-scope="scope" v-if="scope.row.text"> <template slot-scope="scope">
{{scope.row.text.content}} <p v-if="!!scope.row.content" class="emcode" v-html="scope.row.content"></p>
<p v-else-if="!!!scope.row.content&&scope.row.text">{{scope.row.text.content}}</p>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="消息状态" width="200"> <el-table-column label="消息状态" width="200">
...@@ -221,4 +222,5 @@ ...@@ -221,4 +222,5 @@
border: none border: none
} }
} }
.emcode /deep/ em{color: #ff0000;}
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!