zan-choose-dialog
Advanced tools
Comparing version 4.4.5 to 4.4.6
@@ -20,7 +20,5 @@ 'use strict'; | ||
function getConfig(options) { | ||
var config = options.config; | ||
function getConfig(config) { | ||
var canSelectRow = function canSelectRow(data) { | ||
if (!options.filterForWeapp) { | ||
if (!config || !config.showDesignWeappNotice) { | ||
return true; | ||
@@ -27,0 +25,0 @@ } |
@@ -34,5 +34,5 @@ 'use strict'; | ||
return (0, _index2['default'])({ | ||
tabs: [(0, _assign2['default'])({}, (0, _feature2['default'])(options), options), (0, _assign2['default'])({}, (0, _featureCategory2['default'])(config), options)] | ||
tabs: [(0, _assign2['default'])({}, (0, _feature2['default'])(config), options), (0, _assign2['default'])({}, (0, _featureCategory2['default'])(config), options)] | ||
}); | ||
} | ||
module.exports = exports['default']; |
@@ -26,5 +26,5 @@ 'use strict'; | ||
function chooseFeature(options) { | ||
var tabConfig = (0, _assign2['default'])({}, (0, _feature2['default'])(options), options); | ||
var tabConfig = (0, _assign2['default'])({}, (0, _feature2['default'])(options.config), options); | ||
return (0, _index2['default'])({ tabs: [tabConfig] }); | ||
} | ||
module.exports = exports['default']; |
{ | ||
"name": "zan-choose-dialog", | ||
"version": "4.4.5", | ||
"version": "4.4.6", | ||
"description": "这是一个React组件", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
1181759
33155