const data: DataType[] = new Array(10).fill(1).map((currentValue, index) => {
return {
id: index + 1,
name: `实体${index + 1}`,
time: "2022-02-04",
describe: `描述${index + 1}`,
key: `${index + 1}`,
status: "default",
index: index + 1,
operation: `operation${index + 1}`,
};
});
(前端)不要再傻傻地这样做虚拟数据
最新推荐文章于 2024-05-31 10:04:55 发布