Browse Source

chore: update snapshot

pull/11188/head
期贤 2 years ago
parent
commit
d9740e0efb
  1. 10
      mock/listTableList.ts
  2. 2
      package.json
  3. 3091
      pnpm-lock.yaml

10
mock/listTableList.ts

@ -1,5 +1,5 @@
import { Request, Response } from 'express';
import moment from 'moment';
import dayjs from 'dayjs';
import { parse } from 'url';
// mock tableListDataSource
@ -21,8 +21,8 @@ const genList = (current: number, pageSize: number) => {
desc: '这是一段描述',
callNo: Math.floor(Math.random() * 1000),
status: Math.floor(Math.random() * 10) % 4,
updatedAt: moment().format('YYYY-MM-DD'),
createdAt: moment().format('YYYY-MM-DD'),
updatedAt: dayjs().format('YYYY-MM-DD'),
createdAt: dayjs().format('YYYY-MM-DD'),
progress: Math.ceil(Math.random() * 100),
});
}
@ -134,8 +134,8 @@ function postRule(req: Request, res: Response, u: string, b: Request) {
desc,
callNo: Math.floor(Math.random() * 1000),
status: Math.floor(Math.random() * 10) % 2,
updatedAt: moment().format('YYYY-MM-DD'),
createdAt: moment().format('YYYY-MM-DD'),
updatedAt: dayjs().format('YYYY-MM-DD'),
createdAt: dayjs().format('YYYY-MM-DD'),
progress: Math.ceil(Math.random() * 100),
};
tableListDataSource.unshift(newRule);

2
package.json

@ -52,8 +52,6 @@
"antd": "^5.13.2",
"antd-style": "^3.6.1",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"omit.js": "^2.0.2",
"querystring": "^0.2.1",
"rc-menu": "^9.12.4",

3091
pnpm-lock.yaml

File diff suppressed because it is too large
Loading…
Cancel
Save