
本文共 1059 字,大约阅读时间需要 3 分钟。
������Vue ���������������
vue vm = new Vue({������������//������������})
������Vue ���������
{{message}}
������Vue ���������el data methods���:
1. el
��������� ������������������������������������
��������� ������������������������������������ DOM ������
��������� ���������������������<body>���<html> ���������������������������<script>���������<body>���<html> ���������
2. data
��������� ��������������� vm ������������������
��������� ������������������������������������������
3. methods
��������� ��������������������������������� vm ���������������
��������� ���������fn ( ) { } ��������������������������������������� function fn ( ) { }
��������������������������������������������������������������������� this ������������������������������������������������ this ������������������������������������
��������� ������������ this ������ vm ������
������Vue ������������---���������������
1. ������������������
������
2. ���������
3. ������������
4. ���������
5. ���������
6. ���������
7. ���������������
8. ������������
9. ���������
发表评论
最新留言
关于作者
