随机颜色:color: function (value){alert(value); return "#"+("00000"+((Math.random()*16777215+0.5)>>0).toString(16)).slice(-6); } 转载于:https://www.cnblogs.com/yangxu93/p/7930196.html