props.ts
544 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: 'name',
width: 120,
},
{
title: '过期时间',
dataIndex: 'tenantExpireTime',
width: 120,
},
];