dtable-ui-component 6.0.110-gla.9 → 6.0.110-gzc.2
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.
|
@@ -161,7 +161,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
161
161
|
return this.filterOptions.map((opt, i) => {
|
|
162
162
|
let key = opt.value.column ? opt.value.column.key : i;
|
|
163
163
|
let isActive = this.state.activeIndex === i;
|
|
164
|
-
let isSelected = value && typeof value === 'object' && !supportMultipleSelect ? this.isEqual(value.value, opt.value) : Array.isArray(value.value) ? value.value.includes(opt.value.
|
|
164
|
+
let isSelected = value && typeof value === 'object' && !supportMultipleSelect ? this.isEqual(value.value, opt.value) : Array.isArray(value.value) ? value.value.includes(opt.value.key) : false;
|
|
165
165
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_option.default, {
|
|
166
166
|
index: i,
|
|
167
167
|
isActive: isActive,
|