schangxiang@126.com
8 天以前 a6aaad96f92dbf9c6ae2c81072509981cc97e6d7
1
2
3
4
5
export default {
    getRandomHexColor(){
        return '#' + ('00000' + (Math.random() * 0x1000000 << 0).toString(16)).substr(-6);
    }
}