上一页 1 2 3 4 5 6 7 ··· 25 下一页
摘要: var list = [ {name:'上海',code:'shanghai',}, {name:'西安', code:'xian'}, {name:'深圳', code:'shenzhen'}, {name:'北京', code:'beijing'} ]; list.sort((a,b)=>{ l 阅读全文
posted @ 2022-06-02 16:52 智商感人 阅读(226) 评论(0) 推荐(0)
摘要: inputnum( value) { value = value.replace(/[^\d.]/g, ""); //清除"数字"和"."以外的字符 value = value.replace(/^\./g, ""); //验证第一个字符是数字 value = value.replace(/\.{2 阅读全文
posted @ 2022-06-02 15:27 智商感人 阅读(732) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2022-06-01 16:02 智商感人 阅读(50) 评论(1) 推荐(0)
摘要: 粗暴使用国内镜像源 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 阅读全文
posted @ 2022-05-31 19:44 智商感人 阅读(41) 评论(0) 推荐(0)
摘要: 是关于uniapp底层的问题 可以将 @vant/weapp/dropdown-item/index.wxml 里面的 van-popup 的事件改成驼峰写法 afterEnter 和 afterLeave 就可以了。 阅读全文
posted @ 2022-05-31 09:37 智商感人 阅读(548) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 25 下一页