diff --git a/dist/bundle.js b/dist/bundle.js index 933c81dda5..b507ff69a1 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -105174,8 +105174,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, { return self.editor.getValue(); }, itemsCreator: function (op, callback) { - op.keyword = self.editor.getValue(); - this.setKeyword(op.keyword); + var keyword = self.editor.getValue(); + op.keywords = [keyword]; + this.setKeyword(keyword); o.itemsCreator(op, callback); }, value: o.value @@ -105271,7 +105272,8 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START"; BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; -BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);/** +BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher); +/** * 单选加载数据搜索loader面板 * Created by guy on 15/11/4. * @class BI.SingleSelectSearchLoader diff --git a/dist/widget.js b/dist/widget.js index fe01894aa6..3df3ead33e 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -17710,8 +17710,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, { return self.editor.getValue(); }, itemsCreator: function (op, callback) { - op.keyword = self.editor.getValue(); - this.setKeyword(op.keyword); + var keyword = self.editor.getValue(); + op.keywords = [keyword]; + this.setKeyword(keyword); o.itemsCreator(op, callback); }, value: o.value @@ -17807,7 +17808,8 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START"; BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; -BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);/** +BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher); +/** * 单选加载数据搜索loader面板 * Created by guy on 15/11/4. * @class BI.SingleSelectSearchLoader diff --git a/src/widget/singleselect/trigger/searcher.singleselect.js b/src/widget/singleselect/trigger/searcher.singleselect.js index e52a452ff8..4870dbd9ee 100644 --- a/src/widget/singleselect/trigger/searcher.singleselect.js +++ b/src/widget/singleselect/trigger/searcher.singleselect.js @@ -44,8 +44,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, { return self.editor.getValue(); }, itemsCreator: function (op, callback) { - op.keyword = self.editor.getValue(); - this.setKeyword(op.keyword); + var keyword = self.editor.getValue(); + op.keywords = [keyword]; + this.setKeyword(keyword); o.itemsCreator(op, callback); }, value: o.value @@ -141,4 +142,4 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START"; BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; -BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher); \ No newline at end of file +BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);