更新记录
1.0.0(2020-09-01)
2020/09/01 开发制作
平台兼容性
结构
<birthTime :class="{active: show}" @confirm="confirm" @cancel="show=false"></birthTime>
引入
import birthTime from '@/components/BirthTime/index.vue'
代码示例
data(){
return {
show: false,
}
}
components: {
birthTime,
}
methods:{
confirm(date){
this.show=false;
this.birth = date;
}
}