摘要: export const numberToChinese = (num) => { var AA = new Array("零", "一", "二", "三", "四", "五", "六", "七", "八", "九", "十"); var BB = new Array("", "十", "百", 阅读全文
posted @ 2020-06-03 18:06 一抹夏忧☆ 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: export const changeToChinese = (Num) => { //判断如果传递进来的不是字符的话转换为字符 if (typeof Num == "number") { Num = new String(Num); }; Num = Num.replace(/,/g, "") / 阅读全文
posted @ 2020-06-03 18:05 一抹夏忧☆ 阅读(370) 评论(0) 推荐(0) 编辑
摘要: idCodeValidator(rule, value, callback) { if ( !this.isCardNo(value) || !this.checkProvince(value) || !this.checkBirthday(value) || !this.checkParity(v 阅读全文
posted @ 2020-06-03 17:51 一抹夏忧☆ 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 代码: <style lang="scss"> .el-table { .el-table__fixed { height:auto !important; // 此处的important表示优先于element.style bottom:17px; // 改为自动高度后,设置与父容器的 阅读全文
posted @ 2020-06-03 14:36 一抹夏忧☆ 阅读(3617) 评论(0) 推荐(0) 编辑