You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
378 B
20 lines
378 B
'use strict';
|
|
|
|
/**
|
|
* @description 测试数可以使用faker
|
|
* @description https://github.com/Marak/faker.js
|
|
*/
|
|
import helper from "@/utils/helper";
|
|
|
|
/**
|
|
* @description 描述
|
|
* @param data
|
|
* @returns {Promise<unknown>}
|
|
*/
|
|
export function getTestDataList(data) {
|
|
return new Promise((resolve) => {
|
|
setTimeout(() => {
|
|
resolve(helper.callback([]));
|
|
}, 1000)
|
|
});
|
|
}
|