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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support vue 2.7 #162

Merged
merged 10 commits into from
May 31, 2022
Merged

feat: support vue 2.7 #162

merged 10 commits into from
May 31, 2022

Conversation

antfu
Copy link
Member

@antfu antfu commented May 31, 2022

No description provided.

@antfu antfu marked this pull request as ready for review May 31, 2022 12:16
@antfu antfu merged commit f2f64e3 into master May 31, 2022
@antfu antfu deleted the feat/vue-2.7 branch May 31, 2022 12:17

export function set(target, key, val) {
if (Array.isArray(target)) {
target.length = Math.max(target.length, key)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this is required? Isn't Vue.set works with arrays by itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants