js 生成uuid

2020-08-16  本文已影响0人  天一呀

crypto.getRandomValues(new Uint8Array(16))

const url = URL.createObjectURL(new Blob())
url.substring(url.lastIndexOf('/') + 1)

上一篇 下一篇

猜你喜欢

热点阅读