diff --git "a/\346\233\276\345\251\267/5.28day \346\225\260\346\215\256\344\270\216\346\226\271\346\263\225\343\200\201\345\256\236\344\276\213\347\224\237\345\221\275\345\221\250\346\234\237\351\222\251\345\255\220and\347\224\237\345\221\275\345\221\250\346\234\237\345\233\276\347\244\272.md" "b/\346\233\276\345\251\267/5.28day \346\225\260\346\215\256\344\270\216\346\226\271\346\263\225\343\200\201\345\256\236\344\276\213\347\224\237\345\221\275\345\221\250\346\234\237\351\222\251\345\255\220and\347\224\237\345\221\275\345\221\250\346\234\237\345\233\276\347\244\272.md" new file mode 100644 index 0000000000000000000000000000000000000000..e0ef106f47a7fae7b8382eb6b011f9e5a443bfd7 --- /dev/null +++ "b/\346\233\276\345\251\267/5.28day \346\225\260\346\215\256\344\270\216\346\226\271\346\263\225\343\200\201\345\256\236\344\276\213\347\224\237\345\221\275\345\221\250\346\234\237\351\222\251\345\255\220and\347\224\237\345\221\275\345\221\250\346\234\237\345\233\276\347\244\272.md" @@ -0,0 +1,9 @@ +# 数据(data) +``` +当new 一个 Vue时,将data对象中的所有属性加入到Vue的响应式系统中(即在控制台修改的数据会及时的在前端显示出来) +``` +![](./img/09.png) +![](./img/10.png) +#### 注意!只有在实例创建时就已经存入data的属性才是响应式的,如果新增一个属性,它并不会触发任何视图更新 + +# 实例生命周期钩子 diff --git "a/\346\233\276\345\251\267/img/09.png" "b/\346\233\276\345\251\267/img/09.png" new file mode 100644 index 0000000000000000000000000000000000000000..121fd05edede3caaa931e7a084581196979e4502 Binary files /dev/null and "b/\346\233\276\345\251\267/img/09.png" differ diff --git "a/\346\233\276\345\251\267/img/10.png" "b/\346\233\276\345\251\267/img/10.png" new file mode 100644 index 0000000000000000000000000000000000000000..3f981844744d19ac7fdb41aac3ac3f35f39d141d Binary files /dev/null and "b/\346\233\276\345\251\267/img/10.png" differ