Skip to content

未找到如何使用扩展interface定义的写法 #266

@GrainInBeard

Description

@GrainInBeard

由于自定义组件需要,将涉及到对原有类型声明进行扩展

import { type TableRowData } from "tdesign-vue-next";
interface SEARCHLIST extends TableRowData {
  type?: string;
}

请问这样的类型在表单中如何写?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions