Interface AddDocConfig

interface AddDocConfig {
    docId: string;
    fileType: string;
    name: string;
    params: StaticDocParam | DynamicDocParam | MediaDocParam;
    showDelete: boolean;
}

Properties

docId: string

文档的唯一id

fileType: string

文档类型,会影响弹窗中文档的图标"pdf" | "ppt" | "doc" | "mp4"

name: string

文档名称,会影响弹窗中文档名称

文档具体的数据参数

showDelete: boolean

是否在文档弹窗中显示删除按钮