Skip to content

概述

更新: 7/29/2025 字数: 0 字 时长: 0 分钟

在表格中可能用到的一些状态显示。

基础用法

在表格中展示对应的订单状态。

API

Props

属性名说明类型默认值
status实际状态值--string | number
options配置选项--Option

Interface

ts
export type Option = {
  label: string;
  value: string | number;
  color?: string;
  textColor?: string;
};