props.ts 545 Bytes
import { PropType } from 'vue';
import type { BasicColumn } from '/@/components/Table';
export interface BasicProps {
  width: string;
  height: string;
}
export const basicProps = {
  width: {
    type: String as PropType<string>,
    default: '100%',
  },
  height: {
    type: String as PropType<string>,
    default: '280px',
  },
};

export const columns: BasicColumn[] = [
  {
    title: '租户名称',
    dataIndex: 'tenantName',
    width: 120,
  },
  {
    title: '过期时间',
    dataIndex: 'createdTime',
    width: 120,
  },
];