From 8fb7f8785220852ab360edfbed9bc76a3a0362ab Mon Sep 17 00:00:00 2001 From: Kobi Date: Mon, 8 Jan 2024 15:47:54 +0800 Subject: [PATCH] =?UTF-8?q?BI-141781=20feat:=20=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E6=8E=A5=E6=94=B6tipText?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fineui/src/widget/multiselect/multiselect.loader.js | 5 ++++- .../src/widget/multiselect/multiselect.loader.nobar.js | 5 ++++- .../multitextvalue.loader.search.js | 6 ++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/fineui/src/widget/multiselect/multiselect.loader.js b/packages/fineui/src/widget/multiselect/multiselect.loader.js index ab234b3f9..b7b397627 100644 --- a/packages/fineui/src/widget/multiselect/multiselect.loader.js +++ b/packages/fineui/src/widget/multiselect/multiselect.loader.js @@ -107,7 +107,10 @@ export class MultiSelectLoader extends Widget { } firstItems = self._createItems(json); } - callback(firstItems.concat(self._createItems(ob.items)), ob.keyword || ""); + const context = { + tipText: ob.tipText, + }; + callback(firstItems.concat(self._createItems(ob.items)), ob.keyword || "", context); if (op.times === 1 && self.storeValue) { isKey(startValue) && (self.storeValue.type === Selection.All diff --git a/packages/fineui/src/widget/multiselect/multiselect.loader.nobar.js b/packages/fineui/src/widget/multiselect/multiselect.loader.nobar.js index 825a7f6ac..802c3b3ba 100644 --- a/packages/fineui/src/widget/multiselect/multiselect.loader.nobar.js +++ b/packages/fineui/src/widget/multiselect/multiselect.loader.nobar.js @@ -115,7 +115,10 @@ export class MultiSelectNoBarLoader extends Widget { } firstItems = self._createItems(json); } - callback(firstItems.concat(self._createItems(ob.items)), ob.keyword || ""); + const context = { + tipText: ob.tipText, + }; + callback(firstItems.concat(self._createItems(ob.items)), ob.keyword || "", context); if (op.times === 1 && self.storeValue) { isKey(startValue) && (self.storeValue.type === Selection.All diff --git a/packages/fineui/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js b/packages/fineui/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js index 965208bac..abdcc7398 100644 --- a/packages/fineui/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js +++ b/packages/fineui/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js @@ -120,8 +120,10 @@ export class SearchMultiSelectLoader extends Widget { } firstItems = this._createItems(json); } - - callback(firstItems.concat(this._createItems(ob.items)), ob.keyword || ""); + const context = { + tipText: ob.tipText, + }; + callback(firstItems.concat(this._createItems(ob.items)), ob.keyword || "", context); if (op.times === 1 && this.storeValue) { isKey(startValue) && (this.storeValue.type === Selection.All