Commit 89eba341 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改类型声明

parent 94730a23
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-18 18:30:50
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-05-19 11:53:24
* @LastEditTime: 2021-06-04 13:48:09
* @Description: 内、外部流传记录
*/
import React, { useEffect, useState } from 'react';
......@@ -49,19 +49,19 @@ interface IProps extends MellowCardProps {
/**
* 外部流转记录列数据
*/
outerColumns: EditableColumns[],
outerColumns?: EditableColumns[],
/**
* 内部流转记录列数据
*/
innerColumns: EditableColumns[],
innerColumns?: EditableColumns[],
/**
* 外部 rowkey
*/
outerRowkey: string | (<T = unknown>(record: T, index?: number) => string),
outerRowkey?: string | (<T = unknown>(record: T, index?: number) => string),
/**
* 内部 rowkey
*/
innerRowkey: string | (<T = unknown>(record: T, index?: number) => string),
innerRowkey?: string | (<T = unknown>(record: T, index?: number) => string),
/**
* 获取外部流转记录方法,与 outerDataSource 不能共存
* 如果两个同时存在 outerDataSource 优先
......
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