Chunyang Huo

Results 90 comments of Chunyang Huo

把下图中这句话中的 `set` 改为 `get`: ![image](https://user-images.githubusercontent.com/14146560/161287618-c7060e41-1238-4361-941e-447324793cc7.png)

把 `patchCompnent` 改为 `patchComponent` ![image](https://user-images.githubusercontent.com/14146560/161286589-eb424ae7-a7d8-4eff-a94b-96203c307afa.png)

把第 8 行拿到 if 语句的外面: ```js const res = target.add(key) if (!hadKey) { trigger(target, key, 'ADD') } ``` ![image](https://user-images.githubusercontent.com/14146560/161284393-9d2c0117-8f51-4ea6-8c8d-891470dca7a5.png)

将 310 页 32 行 和 313 页 57 行的 `props[k] = v`,改为: ```js console.warn(`Attempting to mutate prop "${k}". Props are readonly.`) ```

@candy-Tong 感谢。 将 `computed` 改为 `obj`,如下图: ![image](https://user-images.githubusercontent.com/14146560/161283237-9f7956d7-a853-4526-b99d-986cd24f665e.png)

把 “图9-1是了整个更新过程的示意图” 这句话中的 “了” 去掉

![image](https://user-images.githubusercontent.com/14146560/161280662-a0e4fce1-bd6b-4ed6-80a5-86d47cafbe05.png)

把 `p-2` 改成 `p-3`: ![image](https://user-images.githubusercontent.com/14146560/161280398-57d74e89-0bbc-4403-9b99-8a56d8cbdfaf.png)

把 `if (res === false) {` 改成 `if (res === false || res === -1) {`: ![image](https://user-images.githubusercontent.com/14146560/161279190-f8914448-6795-418e-bb44-db448bcfe41f.png)

![image](https://user-images.githubusercontent.com/14146560/161277946-941f8667-028c-4f5f-ad7a-01c622233d14.png)