
// 超出显示省略号
export const ellipsis = (el, binding) => {
  el.style.width = binding.value || 100 + 'px'
  el.style.whiteSpace = 'nowrap'
  el.style.overflow = 'hidden';
  el.style.textOverflow = 'ellipsis';
}


