Commit 5d3c6e17 by luyt

fix: 添加样式兼容,hover竖线

1 parent 78494a7d
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
File mode changed
......@@ -474,7 +474,7 @@ export default {
}
.el-table tbody .el-table__row:hover {
.el-table__cell:first-child {
td:first-child {
// .el-table__cell:first-child .cell
// background-color:red!important;
position: relative;
......
......@@ -29,7 +29,11 @@
<el-popover v-if="tableData[scope.$index][item.prop] && tableData[scope.$index][item.prop].length >= 10 * item.line" placement="top" width="200" trigger="hover" :content="tableData[scope.$index][item.prop]">
<span slot="reference" class="line-ellipsis" :style="{ '-webkit-line-clamp': item.line ? item.line : '' }" v-text="tableData[scope.$index][item.prop]"></span>
</el-popover>
<span v-else class="line-ellipsis" :style="{ '-webkit-line-clamp': item.line ? item.line : '' }" v-text="tableData[scope.$index][item.prop]"></span>
<!-- <span v-else class="line-ellipsis" :style="{ '-webkit-line-clamp': item.line ? item.line : '' }" v-text="tableData[scope.$index][item.prop]"></span> -->
<span v-else class="line-ellipsis" :style="{ '-webkit-line-clamp': item.line ? item.line : '' }">
<!-- {{tableData[scope.$index][item.prop] | }} todo 过滤器 -->
{{tableData[scope.$index][item.prop] }}
</span>
</template>
<template v-if="item.addSymbol">
<span v-text="item.addSymbol"></span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!