Skip to content

v2.0.0-beta.4

Compare
Choose a tag to compare
@gk-shi gk-shi released this 14 May 11:06
· 4 commits to master since this release

简化增量更新判断逻辑,现在如果需要替换整个渲染列表,直接重新赋值即可。

const list = ref([])

// before replace
list.value = []
nextTick(() => {
  list.value = [...]
})

// now replace
list.value = [...]