Skip to content

Commit f151a78

Browse files
authored
Update syntax.md
视图 应为 试图
1 parent 812da33 commit f151a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Mustache 不能在 HTML 属性中使用,应使用 [v-bind 指令](/api/#v-bind
7878
{{ if (ok) { return message } }}
7979
```
8080

81-
<p class="tip">模板表达式都被放在沙盒中,只能访问全局变量的一个白名单,如 `Math` 和 `Date` 。你不应该在模板表达式中视图访问用户定义的全局变量。</p>
81+
<p class="tip">模板表达式都被放在沙盒中,只能访问全局变量的一个白名单,如 `Math` 和 `Date` 。你不应该在模板表达式中试图访问用户定义的全局变量。</p>
8282

8383
<p class="tip">Template expressions are sandboxed and only have access to a whitelist of globals such as `Math` and `Date`. You should not attempt to access user defined globals in template expressions.</p>
8484

0 commit comments

Comments
 (0)