摘要:
1、单行写一个评级组件 "★★★★★☆☆☆☆☆".slice(5 - rate, 10 - rate); 定义一个变量rate是1到5的值,然后执行上面代码 2、论如何优雅的取随机字符串 // Math.random().toString(36) 生成随机数// .toString(36) 将随机数 阅读全文
posted @ 2020-11-16 10:32
chenmeijiao
阅读(161)
评论(0)
推荐(0)
浙公网安备 33010602011771号