Skip to content

Commit 59e244f

Browse files
author
sunxiaoyu
committed
fix code compatible bug
1 parent 4f611b4 commit 59e244f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/typography/base.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,9 @@ const create = function (tag) {
8282
},
8383

8484
canUseCSSEllipsis() {
85-
const {
86-
clientRendered,
87-
copyable,
88-
getEllipsis
89-
} = this.data.get();
85+
const clientRendered = this.data.get('clientRendered');
86+
const copyable = this.data.get('copyable');
87+
const getEllipsis = this.data.get('getEllipsis');
9088
const rows = getEllipsis.rows;
9189
const expandable = getEllipsis.expandable;
9290

0 commit comments

Comments
 (0)