vue.js的数据绑定

图1
 
图2
{{name}}只有在图2中id=vue-app的DIV中才可以使用,因为已经在图1中el属性中指定了。
posted @ 2020-02-27 17:41  gaoyang'Blog  阅读(129)  评论(0编辑  收藏  举报