📅  最后修改于: 2022-03-11 15:03:00.249000             🧑  作者: Mango
代码示例3
const count = ref(1)
const plusOne = computed(() => count.value + 1)
console.log(plusOne.value) // 2
plusOne.value++ // error
1