Browse Source

名称长度调整

laiguoran 3 years ago
parent
commit
88809bea25
1 changed files with 4 additions and 4 deletions
  1. 4 4
      app/view/datacollect/index.ejs

+ 4 - 4
app/view/datacollect/index.ejs

@@ -713,8 +713,8 @@
                     },
                     formatter: function(value) {
                         var res = value;
-                        if(res.length > 8) {
-                            res = res.substring(0, 6) + "..";
+                        if(res.length > 6) {
+                            res = res.substring(0, 5) + "..";
                         }
                         return res;
                     }
@@ -838,8 +838,8 @@
                 // },
                 formatter: function(value) {
                     var res = value;
-                    if(res.length > 8) {
-                        res = res.substring(0, 6) + "..";
+                    if(res.length > 6) {
+                        res = res.substring(0, 5) + "..";
                     }
                     return res;
                 }