1. Final plan
setTimeout(() => {
this.变量 = '你要修改的值';
}, 100)
2. Only the first revision changes
this.$nextTick(()=>{
this.变量 = '你要修改的值';
});
1. Final plan
setTimeout(() => {
this.变量 = '你要修改的值';
}, 100)
2. Only the first revision changes
this.$nextTick(()=>{
this.变量 = '你要修改的值';
});