Commit d84068ed authored by 高滢's avatar 高滢

feat(样品): 70684

parent 63fb0677
...@@ -98,13 +98,9 @@ ...@@ -98,13 +98,9 @@
min-width="200" min-width="200"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-link <div class="custom-link" @click="clickSampleName(scope.row)">
type="primary" {{ scope.row.sampleName }}
:underline="false" </div>
class="custom-link"
@click="clickSampleName(scope.row)"
>{{ scope.row.sampleName }}</el-link
>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -711,7 +707,15 @@ export default { ...@@ -711,7 +707,15 @@ export default {
justify-content: flex-end; justify-content: flex-end;
margin-right: 20px; margin-right: 20px;
} }
.custom-link {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #1a6fd7;
}
.custom-link:hover { .custom-link:hover {
text-decoration: underline; text-decoration: underline;
cursor: pointer;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment