From fb33b968bde4bfb89ec52c38888baec6d6e64086 Mon Sep 17 00:00:00 2001 From: "Cauchy.Ke" Date: Tue, 11 Oct 2022 16:01:53 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"chore:=20single=E7=B1=BB=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E5=AD=90label=E7=9A=84title=E5=BA=94?= =?UTF-8?q?=E8=AF=A5=E4=B8=BAnull"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e73f4aff043f3a58f8c9885c7e2a5f1e7d15aa61. --- src/base/single/button/buttons/button.text.js | 2 +- src/base/single/button/listitem/blankiconicontextitem.js | 2 +- src/base/single/button/listitem/blankicontexticonitem.js | 2 +- src/base/single/button/listitem/blankicontextitem.js | 2 +- src/base/single/button/listitem/icontexticonitem.js | 2 +- src/base/single/button/listitem/icontextitem.js | 2 +- src/base/single/button/listitem/texticonitem.js | 2 +- src/base/single/button/listitem/textitem.js | 2 +- src/base/single/button/node/icontexticonnode.js | 2 +- src/base/single/button/node/icontextnode.js | 2 +- src/base/single/button/node/texticonnode.js | 2 +- src/base/single/button/node/textnode.js | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/base/single/button/buttons/button.text.js b/src/base/single/button/buttons/button.text.js index 15bdde250..1562e4c66 100644 --- a/src/base/single/button/buttons/button.text.js +++ b/src/base/single/button/buttons/button.text.js @@ -42,7 +42,7 @@ BI.TextButton = BI.inherit(BI.BasicButton, { value: o.value, py: o.py, keyword: o.keyword, - title: null, + title: o.title, }); }, diff --git a/src/base/single/button/listitem/blankiconicontextitem.js b/src/base/single/button/listitem/blankiconicontextitem.js index 580c96d11..e60eb9bd7 100644 --- a/src/base/single/button/listitem/blankiconicontextitem.js +++ b/src/base/single/button/listitem/blankiconicontextitem.js @@ -62,7 +62,7 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }], }; diff --git a/src/base/single/button/listitem/blankicontexticonitem.js b/src/base/single/button/listitem/blankicontexticonitem.js index d8be21237..0365e2179 100644 --- a/src/base/single/button/listitem/blankicontexticonitem.js +++ b/src/base/single/button/listitem/blankicontexticonitem.js @@ -56,7 +56,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }, { type: "bi.icon_label", diff --git a/src/base/single/button/listitem/blankicontextitem.js b/src/base/single/button/listitem/blankicontextitem.js index e51e31ed2..c6b81eba9 100644 --- a/src/base/single/button/listitem/blankicontextitem.js +++ b/src/base/single/button/listitem/blankicontextitem.js @@ -55,7 +55,7 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }], }; diff --git a/src/base/single/button/listitem/icontexticonitem.js b/src/base/single/button/listitem/icontexticonitem.js index fb510ea9c..e0eeea1ef 100644 --- a/src/base/single/button/listitem/icontexticonitem.js +++ b/src/base/single/button/listitem/icontexticonitem.js @@ -52,7 +52,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }, { type: "bi.icon_label", diff --git a/src/base/single/button/listitem/icontextitem.js b/src/base/single/button/listitem/icontextitem.js index 6e7fbc454..598fb6024 100644 --- a/src/base/single/button/listitem/icontextitem.js +++ b/src/base/single/button/listitem/icontextitem.js @@ -53,7 +53,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }], }; diff --git a/src/base/single/button/listitem/texticonitem.js b/src/base/single/button/listitem/texticonitem.js index 50cf665ae..a7817182c 100644 --- a/src/base/single/button/listitem/texticonitem.js +++ b/src/base/single/button/listitem/texticonitem.js @@ -46,7 +46,7 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }, { type: "bi.icon_label", diff --git a/src/base/single/button/listitem/textitem.js b/src/base/single/button/listitem/textitem.js index 1362160d5..e95058de2 100644 --- a/src/base/single/button/listitem/textitem.js +++ b/src/base/single/button/listitem/textitem.js @@ -39,7 +39,7 @@ BI.TextItem = BI.inherit(BI.BasicButton, { value: o.value, keyword: o.keyword, py: o.py, - title: null, + title: o.title, }); }, diff --git a/src/base/single/button/node/icontexticonnode.js b/src/base/single/button/node/icontexticonnode.js index 0131405b0..b0b5088ed 100644 --- a/src/base/single/button/node/icontexticonnode.js +++ b/src/base/single/button/node/icontexticonnode.js @@ -50,7 +50,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }, { type: "bi.icon_label", diff --git a/src/base/single/button/node/icontextnode.js b/src/base/single/button/node/icontextnode.js index 0f0599a71..f7d62926b 100644 --- a/src/base/single/button/node/icontextnode.js +++ b/src/base/single/button/node/icontextnode.js @@ -50,7 +50,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }], }; diff --git a/src/base/single/button/node/texticonnode.js b/src/base/single/button/node/texticonnode.js index e70077f03..f4402ff2c 100644 --- a/src/base/single/button/node/texticonnode.js +++ b/src/base/single/button/node/texticonnode.js @@ -42,7 +42,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, { value: o.value, keyword: o.keyword, height: o.height, - title: null, + title: o.title, }, }, { type: "bi.icon_label", diff --git a/src/base/single/button/node/textnode.js b/src/base/single/button/node/textnode.js index bb5762f72..8f58af764 100644 --- a/src/base/single/button/node/textnode.js +++ b/src/base/single/button/node/textnode.js @@ -38,7 +38,7 @@ BI.TextNode = BI.inherit(BI.NodeButton, { value: o.value, keyword: o.keyword, py: o.py, - title: null, + title: o.title, }); },