Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Dec 19, 2024
1 parent ef86329 commit 15f044a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/select/util/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import get from 'lodash/get';
import OptionGroup from '../base/OptionGroup';
import Option from '../base/Option';

import { SelectValue, TdOptionProps, SelectKeysType, TdSelectProps } from '../type';
import { SelectValue, TdOptionProps, SelectKeysType, TdSelectProps, SelectOption } from '../type';

type SelectLabeledValue = Required<Omit<TdOptionProps, 'disabled'>>;

Expand Down Expand Up @@ -198,7 +198,7 @@ export const getSelectedOptions = (
// 当前所有选中的选项
let currentSelectedOptions = [];
// 当前选中的选项
let currentOption: SelectValue;
let currentOption: SelectOption;
if (multiple) {
currentSelectedOptions = isObjectType
? (value as Array<SelectValue>)
Expand Down

0 comments on commit 15f044a

Please sign in to comment.