Browse Source

DEC-17269 fix: bi.card卡片布局组件baseCls不能叫bi-card,bi-card是带样式的

想不出叫什么缩写了 bi-cd, bi-c-l,表意都不是很明显,还是恢复bi-card-layout吧
es6
zsmj1994 4 years ago
parent
commit
a08d71fc40
  1. 2
      src/core/wrapper/layout/layout.card.js

2
src/core/wrapper/layout/layout.card.js

@ -9,7 +9,7 @@
BI.CardLayout = BI.inherit(BI.Layout, { BI.CardLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.CardLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.CardLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-card", baseCls: "bi-card-layout",
items: [] items: []
}); });
}, },

Loading…
Cancel
Save