ns-base-module 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -290,10 +290,14 @@ var Filter = function Filter(props) {
|
|
|
290
290
|
if (haDict && lastChecked.length && dictItems) {
|
|
291
291
|
var _lastChecked = flattenDeep(lastChecked);
|
|
292
292
|
_lastChecked.forEach(function (item) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
293
|
+
if (!item) {
|
|
294
|
+
multChecked.push(item);
|
|
295
|
+
} else {
|
|
296
|
+
for (var i = 0, l = dictItems.length; i < l; i++) {
|
|
297
|
+
if (dictItems[i].label == item) {
|
|
298
|
+
multChecked.push(dictItems[i].value);
|
|
299
|
+
break;
|
|
300
|
+
}
|
|
297
301
|
}
|
|
298
302
|
}
|
|
299
303
|
});
|