1.methods:
监听click事件
methods:{
clickFunction:function(){
}
}
2.mounted:
页面初始化方法
mounted(){
}
执行顺序是子组件---父组件
3.props:
接收来自父组件的数据
props: {
seller: {
type: Object
}
}
1.methods:
监听click事件
methods:{
clickFunction:function(){
}
}
2.mounted:
页面初始化方法
mounted(){
}
执行顺序是子组件---父组件
3.props:
接收来自父组件的数据
props: {
seller: {
type: Object
}
}