1.最近父元素或当前元素布局为flex布局 2.最近父元素没有添加overflow:hidden 温馨提示:text-overflow搭配的使用: overflow: hidden; white-space: nowrap;