摘要: onkeyup="this.value=this.value.match(/\d+\.?\d{0,2}/);this.dispatchEvent(new Event('input'))" 其中的 \d{0,2} 表示最多允许2位小数 阅读全文
posted @ 2022-05-23 16:21 屌丝大叔的笔记 阅读(873) 评论(0) 推荐(0) 编辑
摘要: <el-table ref="mainTable1" :key="1" :data="list" v-loading="listLoading" border fit highlight-current-row style="width: 100%;" @cell-dblclick="celledi 阅读全文
posted @ 2022-05-23 14:24 屌丝大叔的笔记 阅读(888) 评论(0) 推荐(0) 编辑