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