随机颜色 不以 2021-03-25 156 阅读1分钟 getRandomColor() { const hue = Math.floor(Math.random() * 360); return `hsl(${hue}, 80%, 80%)` }