前端,node生成uuid
emer 发布于 2021-7-27 17:12 1498 次阅读
npm install uuid --save
import { v4 as uuidv4 } from 'uuid'; function render(){ for(var i=0;i<20;i++){ console.log(uuidv4()) } } render();
emer 发布于 2021-7-27 17:12 1498 次阅读
npm install uuid --save
import { v4 as uuidv4 } from 'uuid'; function render(){ for(var i=0;i<20;i++){ console.log(uuidv4()) } } render();