Commit c9aed6aa authored by XieZhiXiong's avatar XieZhiXiong

chore: 完善类型声明

parent 05ff23e4
......@@ -6,9 +6,15 @@
* @Description: 会员入库信息
*/
import React from 'react';
import CustomizeColumn from '@/components/CustomizeColumn';
import CustomizeColumn, { IProps as CustomizeColumnProps } from '@/components/CustomizeColumn';
interface IProps extends Omit<CustomizeColumnProps, 'data' | 'columns'> {}
const MemberDocIncomingInfo: React.FC<IProps> = (props: IProps) => {
const {
...rest
} = props;
const MemberDocIncomingInfo: React.FC = () => {
const data = [
{
title: '商业模式',
......@@ -75,6 +81,7 @@ const MemberDocIncomingInfo: React.FC = () => {
<CustomizeColumn
title="入库信息"
data={data}
{...rest}
/>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment