视图层
<myCard v-if="countView" icon="icon-yonghuzu" bgcolor="#2d8cf0" :count="homeData.govtCount" title="标题名称"></myCard>
逻辑层
data(){
return {
countView:true
}
}
//重新渲染组件
_this.countView=false
_this.$nextTick(()=>{
_this.countView=true
})