js 生成uuid

crypto.getRandomValues(new Uint8Array(16))

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

你可能感兴趣的:(js 生成uuid)