赋值新的map key value以后使用以下方法:
const computedWatchers = this._computedWatchers
if (computedWatchers) {
Object.keys(computedWatchers).forEach((computed) => {
computedWatchers[computed].update()
})
}
this.$forceUpdate()
赋值新的map key value以后使用以下方法:
const computedWatchers = this._computedWatchers
if (computedWatchers) {
Object.keys(computedWatchers).forEach((computed) => {
computedWatchers[computed].update()
})
}
this.$forceUpdate()