docs: 文字错误

春变更 -> 纯变更
This commit is contained in:
chenc 2020-06-29 12:51:39 +08:00 committed by 雪狼
parent dd75e87ffa
commit fdaaf0fb07

View File

@ -408,7 +408,7 @@ So Angular uses a faster change-detection algorithm for executing a pipe, as des
### Detecting pure changes to primitives and object references ### Detecting pure changes to primitives and object references
### 检测原始类型和对象引用的变更 ### 检测原始类型和对象引用的变更
By default, pipes are defined as *pure* so that Angular executes the pipe only when it detects a *pure change* to the input value. By default, pipes are defined as *pure* so that Angular executes the pipe only when it detects a *pure change* to the input value.
A pure change is either a change to a primitive input value (such as `String`, `Number`, `Boolean`, or `Symbol`), or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`). A pure change is either a change to a primitive input value (such as `String`, `Number`, `Boolean`, or `Symbol`), or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`).