nuysoft / Mock

A simulation data generator
http://mockjs.com
Other
19.53k stars 2.67k forks source link

support mock data key random? #333

Open icai opened 5 years ago

icai commented 5 years ago

I want to generate the data like this:

{
'0b3a97667ce9486574ce32e0ee9632b9': {uid: "1740499547", name: "Terry"},
'44ac9c647de594477986b9b7ca3904bf': {uid: "1740499547", name: "Terry"},
'35641776a3e4245fb677d960ee459df3': {uid: "1740499547", name: "Terry"},
'a3f1c81ab3a4a35b4da2b3354f788e3f': {uid: "1740499547", name: "Terry"},
'be9e3a2c1e4344910ab89e352bf7d445': {uid: "1740499547", name: "Terry"},
'd3388c876fe9146243e7f8770629baca': {uid: "1740499547", name: "Terry"}
}
icai commented 5 years ago

relative https://github.com/nuysoft/Mock/issues/178