Skip to content

English pr 817 #280

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 8 commits into from
Apr 7, 2017
Merged

English pr 817 #280

merged 8 commits into from
Apr 7, 2017

Conversation

KingMario
Copy link
Contributor

No description provided.

@Jinjiang
Copy link
Member

Sorry,http://vuejs.org/v2/guide/migration-vue-router.html 这里没找到原文的位置,可以确定一下你翻译的对应的原文吗?

@KingMario
Copy link
Contributor Author

KingMario commented Mar 13, 2017

英文版的还没被 merge 进去,一开始打算直接加 watcher,posva 认为 $route 对象应该是只读的,不同意加 watcher 并在其中修改 $route,因此修改了一下,目前还没反馈。

vuejs/v2.vuejs.org#817

来源是有人在 segmentfault 提了一个问题:最新版vue-router的bug,然后我在 vue-router 提了一个 issue,经证实是 V2 对 V1 的一个 breaking change,如果再改回去又会形成一个新的 breaking change,因此我觉得接受改变可能更好,并在 升迁向导 里加了个说明。

遇到这方面问题的可能不多,因此 勾股大侠 可以不着急 merge,等英文版那边定稿后我还可能会再提交修改。

THX

@Jinjiang
Copy link
Member

明白了,我这边先做个 issue 关联
vuejs/v2.vuejs.org#817

@KingMario
Copy link
Contributor Author

KingMario commented Mar 13, 2017

@Jinjiang 勾股大神,英文版 prova 已修改并审核通过,中文版和英文版代码格式略有不同,此外,中文版中加了使用 watcher 的方式,个人认为,在确信该 query 是数组时,添加 watcher 才是一劳永逸的最佳实践,因此夹点私货 (手动 doge

PS: 在由于 url 语法 breaking change 导致数组数据类型破坏的 query 中,query 的“原始性”是个伪命题

@Jinjiang Jinjiang merged commit 5483951 into vuejs:master Apr 7, 2017
@KingMario KingMario deleted the english-pr-817 branch April 7, 2017 02:05
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