Commit bd7f06f8 authored by zhangyanni's avatar zhangyanni

汇报

parent 19832869
......@@ -1011,9 +1011,14 @@
},
formatter:function(value){
let text = value.name;
if(text.length>3){
if(window.innerWidth<=1900){
if(text.length==4){
return text.substring(0, 2) +"\n"+text.substring(2, text.length);
}
if(text.length>4&&text.length<7){
return text.substring(0, 2) +"\n"+text.substring(2, 4)+"\n"+text.substring(4, text.length);
}
}
}
}
},
......
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