--32位ID
var id = replace(java.util.UUID.randomUUID(),"-","");
全大写:
var ID = replace(java.util.UUID.randomUUID(),”-“,”“).toUpperCase();
全小写:
var id = replace(java.util.UUID.randomUUID(),”-“,”“).toLowerCase();
--36位ID
var id = replace(java.util.UUID.randomUUID(),"_","");
–中文乱码问题
url=encodeURI(url);
–JS对汉字的编码和转码
encodeURI(encodeURI(lm.getValueByName("name")))
decodeURI(date)
来源:CSDN
作者:俊不见高堂明镜
链接:https://blog.csdn.net/u010758605/article/details/50944046