fix: toolbar检查search_form而非data_filter导致filter按钮不显示
This commit is contained in:
parent
231fde3807
commit
1e33a70627
@ -232,8 +232,8 @@ bricks.DataViewer = class extends bricks.VBox {
|
||||
edit_names.push(t.name);
|
||||
});
|
||||
}
|
||||
/* data_filter: add search tool to toolbar */
|
||||
if (this.opts.data_filter){
|
||||
/* search_form: add search tool to toolbar */
|
||||
if (this.opts.search_form || this.opts.data_filter){
|
||||
tbdesc.tools.push({
|
||||
name:'filter',
|
||||
label: this.opts.filter_label || '搜索',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user