update readme
This commit is contained in:
parent
e5f5d6d571
commit
642e245ae0
|
@ -611,7 +611,7 @@ define("my-app", class extends WeElement {
|
|||
* beforeUpdate
|
||||
* afterUpdate
|
||||
|
||||
因为 data change 会触发 update ,update 会触发上面函数,就无限递归了。
|
||||
因为 data 设置会触发 update ,update 会触发上面函数,就无限递归了。
|
||||
|
||||
如果你想要兼容 IE11,请使用 `omi-mobx` 代替 omi 自带的 observe,往下看..
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue