feat(zhst/biz): 修复一些ts报错

This commit is contained in:
NICE CODE BY DEV 2024-06-06 12:00:12 +08:00
parent 12e5046f53
commit 27958367ff

View File

@ -18,7 +18,8 @@ import { IconFont } from '@zhst/icon';
import classNames from 'classnames'; import classNames from 'classnames';
import './index.less' import './index.less'
interface IOption { // @ts-ignore
export interface IOption {
label: string label: string
key: string key: string
icon?: string | ReactNode icon?: string | ReactNode
@ -29,7 +30,7 @@ interface IOption {
dropdownConfig?: DropDownProps dropdownConfig?: DropDownProps
} }
interface ITag { export interface ITag {
label: string label: string
value: string value: string
icon?: ReactNode icon?: ReactNode