schangxiang@126.com
2024-09-05 dc054fdab657fc1ed91be0c81cc5c1e8f76117f0
1
2
3
4
5
export default {
    getRandomHexColor(){
        return '#' + ('00000' + (Math.random() * 0x1000000 << 0).toString(16)).substr(-6);
    }
}