-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Lujing #1039
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
Lujing #1039
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
谢谢贡献,我提了一些格式问题和翻译上的建议。
@@ -2621,7 +2621,7 @@ type: api | |||
|
|||
- **用法**: | |||
|
|||
`<keep-alive>` 包裹动态组件时,会缓存不活动的组件实例,而不是销毁它们。和 `<transition>` 相似,`<keep-alive>` 是一个抽象组件:它自身不会渲染一个 DOM 元素,也不会出现在父组件链中。 | |||
`<keep-alive>` 包裹动态组件时,会缓存不活动的组件实例,而不是销毁它们。和 `<transition>` 相似,`<keep-alive>` 是一个抽象组件:它自身不会渲染一个 DOM 元素,也不会出现在组件的父组件链中。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉这个改动没什么必要?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我自己看文档的时候会不明白父组件链是什么意思
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这句话主语就是 <keep-alive>
(这个抽象组件) 吧
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
嗯嗯 按照你的建议 commit 了 |
@lujing2 麻烦你再看一下,还有不少 unresolved comment。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请处理一下所有 unresolved 的评论,谢谢!
@@ -2621,7 +2621,7 @@ type: api | |||
|
|||
- **用法**: | |||
|
|||
`<keep-alive>` 包裹动态组件时,会缓存不活动的组件实例,而不是销毁它们。和 `<transition>` 相似,`<keep-alive>` 是一个抽象组件:它自身不会渲染一个 DOM 元素,也不会出现在父组件链中。 | |||
`<keep-alive>` 包裹动态组件时,会缓存不活动的组件实例,而不是销毁它们。和 `<transition>` 相似,`<keep-alive>` 是一个抽象组件:它自身不会渲染一个 DOM 元素,也不会出现在组件的父组件链中。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这句话主语就是 <keep-alive>
(这个抽象组件) 吧
加个定语也没关系吧,我个人是觉得加个定语更好理解
…------------------ 原始邮件 ------------------
发件人: "GU Yiling"<[email protected]>;
发送时间: 2020年1月6日(星期一) 中午11:49
收件人: "vuejs/cn.vuejs.org"<[email protected]>;
抄送: "飞翔"<[email protected]>; "Mention"<[email protected]>;
主题: Re: [vuejs/cn.vuejs.org] Lujing (#1039)
@Justineo requested changes on this pull request.
请处理一下所有 unresolved 的评论,谢谢!
In src/v2/api/index.md:
> @@ -1222,7 +1222,7 @@ type: api - **详细**: - 使组件无状态 (没有 `data` ) 和无实例 (没有 `this` 上下文)。他们用一个简单的 `render` 函数返回虚拟节点使他们更容易渲染。 + 使组件无状态 (没有 `data` ) 和无实例 (没有 `this` 上下文)。他们用一个简单的 `render` 函数返回虚拟节点使它们渲染的代价更小。 ⬇️ Suggested change - 使组件无状态 (没有 `data` ) 和无实例 (没有 `this` 上下文)。他们用一个简单的 `render` 函数返回虚拟节点使它们渲染的代价更小。 + 使组件无状态 (没有 `data`) 和无实例 (没有 `this` 上下文)。他们用一个简单的 `render` 函数返回虚拟节点使它们渲染的代价更小。
In src/v2/api/index.md:
> @@ -2621,7 +2621,7 @@ type: api - **用法**: - `<keep-alive>` 包裹动态组件时,会缓存不活动的组件实例,而不是销毁它们。和 `<transition>` 相似,`<keep-alive>` 是一个抽象组件:它自身不会渲染一个 DOM 元素,也不会出现在父组件链中。 + `<keep-alive>` 包裹动态组件时,会缓存不活动的组件实例,而不是销毁它们。和 `<transition>` 相似,`<keep-alive>` 是一个抽象组件:它自身不会渲染一个 DOM 元素,也不会出现在组件的父组件链中。
这句话主语就是 <keep-alive> (这个抽象组件) 吧
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Co-Authored-By: GU Yiling <[email protected]>
#1039 (review) 这里有一些评论被折叠隐藏了,你可以展开看一下 |
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
Co-Authored-By: GU Yiling <[email protected]>
谢谢! |
一些翻译的修改