Skip to content

Commit

Permalink
fix: ellipsis 修改 (jd-opensource#2049)
Browse files Browse the repository at this point in the history
* feat: tour更新

* feat: 文档修改

* feat: 插槽修改

* feat: noticebar发布

* feat: 文档更新

* fix: ellipsis修改
  • Loading branch information
yangxiaolu1993 authored Jan 12, 2023
1 parent 832bc90 commit cfc0041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/__VUE/ellipsis/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export default create({
const calcEllipse = () => {
if (container.offsetHeight <= maxHeight) {
state.exceeded = false;
document.body.removeChild(container);
} else {
state.exceeded = true;
const end = props.content.length;
Expand Down

0 comments on commit cfc0041

Please sign in to comment.