修改data数据后页面未更新渲染

 只需添加 this.$forceUpdate() 在修改数据后执行即可

 this.$forceUpdate() 

posted @ 2023-09-09 11:05  心动12138  阅读(25)  评论(0)    收藏  举报