|
|
|
|
@ -2208,12 +2208,16 @@ var Knowledge = function Knowledge(_ref) {
|
|
|
|
|
},
|
|
|
|
|
showSearch: true,
|
|
|
|
|
allowClear: true,
|
|
|
|
|
value: values
|
|
|
|
|
value: values,
|
|
|
|
|
filterOption: function filterOption(input, option) {
|
|
|
|
|
return option.label.indexOf(input.toLowerCase()) >= 0;
|
|
|
|
|
}
|
|
|
|
|
// value={knowledgeOptions?.filter(item => values?.includes(item?.id) || values?.includes(item?.id + '')).map((item) => item.name)}
|
|
|
|
|
,
|
|
|
|
|
children: knowledgeOptions === null || knowledgeOptions === void 0 ? void 0 : knowledgeOptions.map(function (item) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(Option, {
|
|
|
|
|
value: item.id,
|
|
|
|
|
label: item.name,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
|