Skip to content

Commit

Permalink
修复select无法显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Mar 5, 2020
1 parent 909ac4a commit 1acfe00
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions dist/index.common.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
}

function createFilterRender(defaultProps) {
return function (h, renderOpts, params, context) {
return function (h, renderOpts, params) {
var column = params.column;
var name = renderOpts.name,
attrs = renderOpts.attrs,
Expand Down Expand Up @@ -355,7 +355,7 @@
}

function createFormItemRender(defaultProps) {
return function (h, renderOpts, params, context) {
return function (h, renderOpts, params) {
var data = params.data,
property = params.property;
var name = renderOpts.name;
Expand Down Expand Up @@ -435,7 +435,7 @@
}

function createFormItemRadioAndCheckboxRender() {
return function (h, renderOpts, params, context) {
return function (h, renderOpts, params) {
var name = renderOpts.name,
options = renderOpts.options,
_renderOpts$optionPro2 = renderOpts.optionProps,
Expand Down Expand Up @@ -548,9 +548,9 @@
}, renderOptions(h, options, optionProps))];
},
renderCell: function renderCell(h, renderOpts, params) {
cellText(h, getSelectCellValue(renderOpts, params));
return cellText(h, getSelectCellValue(renderOpts, params));
},
renderFilter: function renderFilter(h, renderOpts, params, context) {
renderFilter: function renderFilter(h, renderOpts, params) {
var options = renderOpts.options,
optionGroups = renderOpts.optionGroups,
_renderOpts$optionPro4 = renderOpts.optionProps,
Expand Down Expand Up @@ -640,7 +640,7 @@

return cellValue == data;
},
renderItem: function renderItem(h, renderOpts, params, context) {
renderItem: function renderItem(h, renderOpts, params) {
var options = renderOpts.options,
optionGroups = renderOpts.optionGroups,
_renderOpts$optionPro5 = renderOpts.optionProps,
Expand Down Expand Up @@ -708,7 +708,7 @@
renderCell: function renderCell(h, renderOpts, params) {
return cellText(h, getDatePickerCellValue(renderOpts, params));
},
renderFilter: function renderFilter(h, renderOpts, params, context) {
renderFilter: function renderFilter(h, renderOpts, params) {
var column = params.column;
var attrs = renderOpts.attrs,
events = renderOpts.events;
Expand Down
Loading

0 comments on commit 1acfe00

Please sign in to comment.