Skip to content

Commit 04df82f

Browse files
authored
docs: add spaces between chinese and english words (#1056)
1 parent 7d1f5a6 commit 04df82f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/v2/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ type: api
388388

389389
- **用法**
390390

391-
将一个模板字符串编译成render函数**只在完整版时可用**
391+
将一个模板字符串编译成 render 函数**只在完整版时可用**
392392

393393
``` js
394394
var res = Vue.compile('<div><span>{{ msg }}</span></div>')

src/v2/cookbook/creating-custom-scroll-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Vue 为指令提供了丰富的选项,覆盖了绝大多数的常见用例,
111111

112112
**这个示例最好在[全屏模式](https://s.codepen.io/sdras/debug/078c19f5b3ed7f7d28584da450296cd0)下浏览。**
113113

114-
<p data-height="500" data-theme-id="5162" data-slug-hash="c8c55e3e0bba997350551dd747119100" data-default-tab="result" data-user="sdras" data-embed-version="2" data-pen-title="Scrolling Example- Using Custom Directives in Vue" class="codepen">在 <a href="https://codepen.io">CodePen</a> 查看 Sarah Drasner (<a href="https://codepen.io/sdras">@sdras</a>) 的 <a href="https://codepen.io/sdras/pen/c8c55e3e0bba997350551dd747119100/">滚动示例 - 在Vue中使用自定义指令</a。></p>
114+
<p data-height="500" data-theme-id="5162" data-slug-hash="c8c55e3e0bba997350551dd747119100" data-default-tab="result" data-user="sdras" data-embed-version="2" data-pen-title="Scrolling Example- Using Custom Directives in Vue" class="codepen">在 <a href="https://codepen.io">CodePen</a> 查看 Sarah Drasner (<a href="https://codepen.io/sdras">@sdras</a>) 的 <a href="https://codepen.io/sdras/pen/c8c55e3e0bba997350551dd747119100/">滚动示例 - 在 Vue 中使用自定义指令</a。></p>
115115
<script async src="https://static.codepen.io/assets/embed/ei.js"></script>
116116

117117
在上述 demo 中,每个章节都有两个由滚动触发的不同类型的动画开关:一个渐变动画和一个动态改变 SVG 独立路径的动画。我们想要复用这两种动画,因此可以为每种动画各创建一个自定义指令。传入的参数将会帮助我们让一切都简单可复用。

src/v2/guide/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const Component = Vue.extend({
6565

6666
const Component = {
6767
// 这里不会有类型推断,
68-
// 因为TypeScript不能确认这是Vue组件的选项
68+
// 因为 TypeScript 不能确认这是 Vue 组件的选项
6969
}
7070
```
7171

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="ad-pagetop">
22
<a href="http://www.tp-shop.cn/index.php?http_referer=vuejs" target="_blank" rel="noopener noreferrer">
33
<span class="name">TPshop</span>
4-
<span class="description">中国免费商城系统 - 搜豹商城系统 - 免费50小时Vue视频教程</span>
4+
<span class="description">中国免费商城系统 - 搜豹商城系统 - 免费50小时 Vue 视频教程</span>
55
<span class="action">立即查看 &gt;</span>
66
</a>
77
</div>

0 commit comments

Comments
 (0)