10 2021 档案

摘要:父组件代码: <template><div> <child-form ref="childRules" :addForm="addForm" > </child-form> <el-button @click="saveForm()" size='medium'>保 存</el-button> </ 阅读全文
posted @ 2021-10-19 16:32 Smile浅笑 阅读(1035) 评论(0) 推荐(1) 编辑
摘要:antd-Calendar(日历)自动嵌入对应时间问题 import moment from 'moment'; //安装moment进行时间格式化 通过getListData方法 对应数据 // 时间渲染 getListData(value) { let listData = []; this.t 阅读全文
posted @ 2021-10-19 16:30 Smile浅笑 阅读(799) 评论(0) 推荐(0) 编辑
摘要:core-js版本太高 cnpm install core-js@2 阅读全文
posted @ 2021-10-19 16:21 Smile浅笑 阅读(143) 评论(0) 推荐(0) 编辑
摘要:<el-checkbox-group v-model="checkList" @change="groupChange">xxx</el-checkbox-group> groupChange() { if (this.checkList.length > 1) { this.checkList.s 阅读全文
posted @ 2021-10-08 15:08 Smile浅笑 阅读(1753) 评论(1) 推荐(1) 编辑
摘要:react 1. jsx语法规则 样式类名要使用 className 内联样式要使用 style={{key:value}} 示例:style={{color:'white',fontSize:'29px'}} list循环 {data.map((item,index) ⇒ {return {ite 阅读全文
posted @ 2021-10-07 17:04 Smile浅笑 阅读(185) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示