- 博客(3)
- 收藏
- 关注
原创 antd vue 表单结合时间选择框回显日期数据
1.引入moment,并在方法中挂载 import moment from 'moment' 2.绑定 v-decorator <a-form-item :label="$tc('通行时段')" :labelCol="labelCol" :wrapperCol="wrapperCol" style="margin-top: 28px;"> <a-range-picker :show-time="{ format: 'HH:mm:ss' }" format="YYYY-M
2021-01-30 17:24:38
3845
原创 ES6 类和ES5 的继承
结构 在class的{}里,只能使用构造函数,静态方法,静态属性,实例方法 class Per { //动态属性 一个构造函数 constructor (name, age) { this.name = name this.age = age } //直接写 showName() { console.log('我是实例方法'); } static info = '这是静态属性' static show () { console.log('
2020-07-15 11:02:16
169
1
原创 使用mui的顶部滚动出现的问题
使用mui的顶部滚动出现的问题 在图片分享组件中引入js文件初始化 import mui from "../../../lib/mui/js/mui.js" 引入该插件的配置 export default { //如果要引入第三方插件最好在mounted中引入 mounted() { //生命周期mounted mui(".mui-scroll-wrapper").scroll({ deceleration: 0.0005 //flick 减速系数,系数越大,滚动速度越
2020-07-03 09:46:49
363
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅