Skip to content

修改列表渲染-数组更新检测-变异方法中example1和2的watch #268

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

Merged
merged 1 commit into from
Mar 13, 2017
Merged

Conversation

linkHe12
Copy link
Contributor

@linkHe12 linkHe12 commented Mar 1, 2017

smoothScroll.animateScroll参数传递错误,执行示例代码时watch方法报错,影响数据修改。

smoothScroll.animateScroll参数传递错误,执行示例代码时watch方法报错,影响数据修改。
@Jinjiang
Copy link
Member

我有点不记得这段代码是做什么的了,等我简单确认一下

@linkHe12
Copy link
Contributor Author

"列表渲染>数组更新检测>变异方法"部分

你打开控制台,然后用前面例子的 items 数组调用变异方法:example1.items.push({ message: 'Baz' }) 。

调用代码滚动到 example1 位置用的。

@Jinjiang
Copy link
Member

got thanks

@Jinjiang Jinjiang merged commit f7feaa6 into vuejs:master Mar 13, 2017
@Jinjiang
Copy link
Member

目测英文站也有点问题,你可以给英文站也提个 PR

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.

2 participants