vue options
el: String | HTMLElement
data: Object | function (组件只能使用function)
methods: {}
还可以有一些生命周期中的钩子函数
beforeCreate: function() {}
created: function() {}
mounted: function() {}
undated: function() {}
destroyed: function() {}
el: String | HTMLElement
data: Object | function (组件只能使用function)
methods: {}
还可以有一些生命周期中的钩子函数
beforeCreate: function() {}
created: function() {}
mounted: function() {}
undated: function() {}
destroyed: function() {}