el和data的另外写法

需要用到两个:

挂在对象:  $mount

还有data函数:

 

posted @ 2021-12-31 19:41  巨象  阅读(42)  评论(0)    收藏  举报