📅  最后修改于: 2022-03-11 15:01:25.511000             🧑  作者: Mango
// directly watching a ref
const selected = ref(props.selected)
watch(selected, (selection, prevSelection) => {
/* ... */
})