the data output from the console
doesn"t feel like a problem
does anyone know how to simulate it
the data output from the console
doesn"t feel like a problem
does anyone know how to simulate it
data is the data returned after you need to call this API
https://codepen.io/jx915/pen/.
// Mock
var Mock = require('mockjs'); // import Mock from 'mockjs'
var data = Mock.mock({
// list 1 10
'list|1-10': [{
'number1|1-100.1-10': 1,
'number2|123.1-10': 1,
'number3|123': 1,
'number4|123.10': 1.123
}]
})
console.log(JSON.stringify(data,null, 4))