update readme

This commit is contained in:
张磊 2018-11-01 17:53:51 +08:00
parent e5f5d6d571
commit 642e245ae0
2 changed files with 2 additions and 2 deletions

View File

@ -611,7 +611,7 @@ define("my-app", class extends WeElement {
* beforeUpdate
* afterUpdate
因为 data change 会触发 update update 会触发上面函数,就无限递归了。
因为 data 设置会触发 update update 会触发上面函数,就无限递归了。
如果你想要兼容 IE11,请使用 `omi-mobx` 代替 omi 自带的 observe往下看..

View File

@ -608,7 +608,7 @@ It should be noted that if `observe` is used, do not set the value of data in th
* beforeUpdate
* afterUpdate
Because data change triggers update, update triggers the above function, and it is infinite recursion.
Because data setter triggers update, update triggers the above function, and it is infinite recursion.
If you want to be compatible with IE11, please use the `omi-mobx` instead of omi's own observe.