Commit 877dc5c1 authored by zhang's avatar zhang

fix: (检测内容/实施细则)修复文字溢出造成样式错误

parent 97909ac2
...@@ -102,7 +102,6 @@ ...@@ -102,7 +102,6 @@
@click="resetQuery" @click="resetQuery"
>重置</el-button >重置</el-button
> >
123
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- <el-row :gutter="10" class="mb10">--> <!-- <el-row :gutter="10" class="mb10">-->
......
...@@ -382,8 +382,8 @@ export default { ...@@ -382,8 +382,8 @@ export default {
// 过滤器:当字符串超过64位时,之后的字符用...代替 // 过滤器:当字符串超过64位时,之后的字符用...代替
ellipsis(value) { ellipsis(value) {
if (!value) return '' if (!value) return ''
if (value.length > 60) { if (value.length > 57) {
return value.slice(0, 60) + '...' return value.slice(0, 57) + '...'
} }
return value return value
} }
......
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