overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
Under a single line, use the code above, you can achieve the effect of ellipsis, please note! Using this line of code label parent tag width must be particularly high, tested under the flex layout flex: 1 Invalid.