随笔分类 -  前端

js css
摘要:1. 提取中文 str.replace(/[^\u4E00-\u9FA5]/g,'') 2. 提取英文 str.replace(/[^a-zA-Z]/g,'') 3. 提取数字 str.replace(/[^\d]/g,'') 阅读全文
posted @ 2023-08-29 16:57 LoveMe7788 阅读(1450) 评论(0) 推荐(0) 编辑
摘要:var sel = document.getElementById("MsgTmpId"); $("#TmpId").find("option").remove(); $.each(data.Data, function (index, item) { var opt = document.crea 阅读全文
posted @ 2022-11-09 14:46 LoveMe7788 阅读(142) 评论(0) 推荐(0) 编辑
摘要:Form 组件提供了表单验证的功能,只需要通过 rules 属性传入约定的验证规则,并将 Form-Item 的 prop 属性设置为需校验的字段名即可。 阅读全文
posted @ 2021-10-28 17:21 LoveMe7788 阅读(127) 评论(0) 推荐(0) 编辑

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