数据强制刷新

this.$nextTick(()=> {
              try{
                this.test = '1'
                this.$forceUpdate();//数据强制刷新
              }catch(e){
                console.log(e);
              }
            })
                                

 

posted @ 2021-05-25 15:49  骅骝漫轻舞01  阅读(35)  评论(0)    收藏  举报