mirror of
https://github.com/certd/certd.git
synced 2026-05-16 05:07:32 +08:00
19 lines
307 B
JavaScript
19 lines
307 B
JavaScript
|
|
import mockUtil from "/src/mock/base";
|
||
|
|
const options = {
|
||
|
|
name: "ComponentJson",
|
||
|
|
idGenerator: 0
|
||
|
|
};
|
||
|
|
const list = [
|
||
|
|
{
|
||
|
|
json: '{"a":1,"b":2}',
|
||
|
|
async: null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
json: '{"a":3,"b":4}',
|
||
|
|
async: null
|
||
|
|
}
|
||
|
|
];
|
||
|
|
options.list = list;
|
||
|
|
const mock = mockUtil.buildMock(options);
|
||
|
|
export default mock;
|