this.$set

47 阅读1分钟

解决vue2检测不到数组和对象的改变,this.$set(arr,'1','xxxx')