vue数据更新dom没渲染

在更新数据代码后面写上

this.$forceUpdate();

或者用watch监听 sukList是你data中的数据字段监听到数据更新 重新赋值

watch: {
    sukList(newVaule,oddVaule){
      this.sukList=newVaule
    }
 }

猜你喜欢

转载自blog.csdn.net/j244233138/article/details/102991289