Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in composition-api beta 14 #524

Closed
zippaaa opened this issue Sep 16, 2020 · 0 comments · Fixed by #532
Closed

Bug in composition-api beta 14 #524

zippaaa opened this issue Sep 16, 2020 · 0 comments · Fixed by #532
Labels
bug Something isn't working

Comments

@zippaaa
Copy link

zippaaa commented Sep 16, 2020

composition-api beta 12

<template>
  <div>
        <p v-for="item in items">
            {{ item }}
        </p>
  </div>
</template>

export default {
    setup(props, { root }) {
        const items = reactive([]);
        setTimeout(() => {
            items.push(...['a', 'b', 'c']);
        }, 5000);
    }
}

Result:

a
b
c

composition-api beta 14
nothing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants