vue 中报 Cannot set property 'backgroundImage' of undefined

 
for(ii=0;ii<that.currStep;ii++){
      that.$refs.diamond[ii].style.backgroundImage="url('"+images+"')"
}
posted @ 2020-08-22 17:20  吃草的羊  阅读(632)  评论(1)    收藏  举报