|
@@ -105,7 +105,7 @@
|
|
|
prop="name"
|
|
|
label="课程名称">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tooltip placement="top-start" style=" display: -webkit-box; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical;">
|
|
|
+ <el-tooltip placement="top-start">
|
|
|
<div slot="content">{{ scope.row.name }}</div>
|
|
|
<span>{{ scope.row.name }}</span>
|
|
|
</el-tooltip>
|
|
@@ -588,4 +588,11 @@ export default {
|
|
|
.newBand {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
+/deep/.el-table .cell {
|
|
|
+ display: -webkit-box;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ -webkit-line-clamp: 3;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+}
|
|
|
</style>
|