refactor(runtime-core): adjust attr fallthrough behavior
BREAKING CHANGE: attribute fallthrough behavior has been adjusted according to https://github.com/vuejs/rfcs/pull/154
This commit is contained in:
@@ -54,7 +54,8 @@ describe('api: setup context', () => {
|
||||
}
|
||||
|
||||
const Child = defineComponent({
|
||||
setup(props: { count: number }) {
|
||||
props: { count: Number },
|
||||
setup(props) {
|
||||
watchEffect(() => {
|
||||
dummy = props.count
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user