上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页
摘要: ####https://blog.csdn.net/weixin_44169843/article/details/128454598 <input enterkeyhint="enter"> <input enterkeyhint="done"> <input enterkeyhint="go"> 阅读全文
posted @ 2023-03-22 10:35 huihuihero 阅读(84) 评论(0) 推荐(0)
摘要: ##提示:巧用filter 阅读全文
posted @ 2023-03-17 10:17 huihuihero 阅读(135) 评论(0) 推荐(0)
摘要: ##官方文档 https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.html ##贴代码 ``` 【index.html】引入wx文件 【微信登录页面】 //二维码dom容器 //引入 阅读全文
posted @ 2023-03-13 11:13 huihuihero 阅读(543) 评论(0) 推荐(0)
摘要: ##handleBase64.js // 处理base64的转码和解码 const handleBase64 = function () { let _keyStr ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= 阅读全文
posted @ 2023-03-13 09:54 huihuihero 阅读(411) 评论(0) 推荐(0)
摘要: ##解决 plus.screen.lockOrientation('portrait-primary'); //强制App竖屏,不可旋转横屏 "screenOrientation": [ //应用支持的横竖屏 "portrait-primary", //支持竖屏 // "portrait-secon 阅读全文
posted @ 2023-03-09 17:14 huihuihero 阅读(157) 评论(0) 推荐(0)
摘要: ## 使用sortable.js实现 ###官方网站: http://www.sortablejs.com/ ###中文文档: https://www.itxst.com/sortablejs/neuinffi.html ``` 1、yarn add sortablejs 2、需要重新运行项目 `` 阅读全文
posted @ 2023-02-13 09:31 huihuihero 阅读(200) 评论(0) 推荐(0)
摘要: ###转自:https://blog.csdn.net/weixin_43304109/article/details/128632430 ##第1种: uglifyjs-webpack-plugin插件,配置在vue.config.js中,不支持es6,已归档,不再维护,不推荐,vue-cli3, 阅读全文
posted @ 2023-02-06 11:36 huihuihero 阅读(315) 评论(0) 推荐(0)
摘要: ###贴代码 <el-cascader style="width: 100%" ref="subjectMajorCascaderElem" placeholder="请选择" @change="selectSubjectMajor" filterable clearable v-model="ba 阅读全文
posted @ 2023-01-06 11:14 huihuihero 阅读(799) 评论(0) 推荐(0)
摘要: 基础正则表达式速查表 转自:https://www.r2coding.com/#/ 字符 表达式 描述 [abc] 字符集。匹配集合中所含的任一字符。 [^abc] 否定字符集。匹配任何不在集合中的字符。 [a-z] 字符范围。匹配指定范围内的任意字符。 . 匹配除换行符以外的任何单个字符。 \ 转 阅读全文
posted @ 2022-12-30 14:32 huihuihero 阅读(96) 评论(0) 推荐(0)
摘要: 在上传文件的时候,需要限制指定的文件类型。 <input type="file" accept="image/*" /> accept表示可以上传文件类型,image表示图片,*表示所有支持的格式。accept暂时只支持type="file" zip rar zip是accept=".applica 阅读全文
posted @ 2022-12-29 15:59 huihuihero 阅读(4726) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页