randomRgb() { let R = Math.floor(Math.random() * 255); let G = Math.floor(Math.random() * 255); let B = Math.floor(Math.random() * 255); return "rgb("+ R + "," + G + "," + B + ")";
<el-progress :color="randomRgb()" ></el-progress>