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

2 years ago
  1. 'use strict';
  2. /**
  3. * @description 测试数可以使用faker
  4. * @description https://github.com/Marak/faker.js
  5. */
  6. import helper from "@/utils/helper";
  7. /**
  8. * @description 描述
  9. * @param data
  10. * @returns {Promise<unknown>}
  11. */
  12. export function getTestDataList(data) {
  13. return new Promise((resolve) => {
  14. setTimeout(() => {
  15. resolve(helper.callback([]));
  16. }, 1000)
  17. });
  18. }