前端生成随机值函数
function getS() {
return (((1 + Math.random()) * 0x10000) | 0).toString(16)
.substring(1);
}
function guid() {
return `${getS()}${getS()}-${getS()}-${getS()}-${getS()}-${getS()}${getS()}${getS()}`;
}
guid() //生成随机值,例如:88f30c4d-5480-e0d0-0a60-1e8d90878adb