解决uniapp 使用自带 switch 双向绑定视图不更新的问题

使用  this.$set( a, b, c)

a:需要更新视图属性对象

b:具体的属性值(就是你要更新视图的属性值)

c:传递的参数

this.$set(this.gwjSelet,this.gwjSelet.hpchecked,false)

  

 

posted @ 2022-06-29 11:27  live丶  阅读(1616)  评论(1编辑  收藏  举报