mirror of
https://github.com/certd/certd.git
synced 2026-05-16 13:17:29 +08:00
🔱: [client] sync upgrade with 21 commits [trident-sync]
Update README.md
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user