Browse Source

stateFormat

zhangxin 2 năm trước cách đây
mục cha
commit
06ed25644a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/message/messageList.vue

+ 1 - 1
src/views/message/messageList.vue

@@ -89,7 +89,7 @@ export default {
     },
     stateFormat(row, column, cellValue) {
       if (!cellValue) return ''
-      if (cellValue.length > 10) {       //最长固定显示10个字符
+      if (cellValue.length > 15) {       //最长固定显示10个字符
         return cellValue.slice(0, 15) + '...'
       }
       return cellValue