//随机数
random() {
// 生成0~10之间的随机数
this.number = (Math.ceil(Math.random() * 10)).toString();
this.Recommend(this.number);
}
更多推荐
js生成随机数
//随机数
random() {
// 生成0~10之间的随机数
this.number = (Math.ceil(Math.random() * 10)).toString();
this.Recommend(this.number);
}
更多推荐
js生成随机数
发布评论