<a-progress :percent="percent"/>
this.percent=0
const that=this
const timer=setInterval(function(){
const num=Math.round(Math.random()*10+10);
that.percent+=num
if(that.percent>=100){
clearInterval(timer)
that.controlvisible=false
that.$message.success('发送控制指令成功')
}
},1000)