Commit 4bf537e7 by 胡悦

修改tooptip样式

1 parent efbb0b6e
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<el-table-column prop="processedScriptRec" label="命中文本" align="center"> <el-table-column prop="processedScriptRec" label="命中文本" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.processedScriptRec"> <template v-if="scope.row.processedScriptRec">
<el-tooltip placement="top" effect="light"> <el-tooltip placement="top" effect="light" popper-class="quality-tooltip">
<div slot="content" v-html="scope.row.processedScriptRec"></div> <div slot="content" v-html="scope.row.processedScriptRec"></div>
<div class="text-ellipsis" v-html="scope.row.processedScriptRec"></div> <div class="text-ellipsis" v-html="scope.row.processedScriptRec"></div>
</el-tooltip> </el-tooltip>
...@@ -140,3 +140,8 @@ export default { ...@@ -140,3 +140,8 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
</style> </style>
<style lang="scss">
.quality-tooltip {
width: 640px !important;
}
</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!