Closed
Description
Version
3.0.0-beta.3
Reproduction link
Steps to reproduce
import { ref } from 'vue'
export default {
template: '<button @click="inc">Clicked {{ count }} times.</button>',
setup() {
const count = ref(0)
const inc = () => {
count.value = 0 // not change
}
return {
count,
inc
}
}
}
What is expected?
do nothing
What is actually happening?
triggered
Metadata
Metadata
Assignees
Labels
No labels