diff --git a/src/base/collection/collection.js b/src/base/collection/collection.js index f45437627..a47a78ec3 100644 --- a/src/base/collection/collection.js +++ b/src/base/collection/collection.js @@ -300,7 +300,7 @@ BI.CollectionView = BI.inherit(BI.Widget, { var o = this.options; // 兼容一下 var scrollable = o.scrollable, scrolly = o.scrolly; - if (o.overflowX === false) { + if (o.overflowY === false) { return false; } if (scrolly) { diff --git a/src/less/base/single/text.less b/src/less/base/single/text.less index bd4aada73..14f567d72 100644 --- a/src/less/base/single/text.less +++ b/src/less/base/single/text.less @@ -3,5 +3,8 @@ .bi-text { .overflow-hidden(); .box-sizing(border-box); - word-break: break-all; -} \ No newline at end of file + + // https://developer.mozilla.org/en-US/docs/Web/CSS/word-break 参考mdn最标准的规范. 不再接受任何质疑 + word-break: normal; + overflow-wrap: anywhere; +}