Loading

12 2021 档案

摘要:大致流程如下图所述 前置工作 去微博开放平台上(https://open.weibo.com/)申请网站接入 审核通过后会给你的应用分配 App Key 和 App Secret (后续根据授权码获取access_token需要用到这个东西) 填写用户授权成功后的回调地址 1、点击社交登录按钮 社交 阅读全文
posted @ 2021-12-29 18:45 青岑 阅读(413) 评论(0) 推荐(0) 编辑
摘要:1.encodeURI(URIstring) 对在 URI 中具有特殊含义的 ASCII 标点符号,不会进行转义的:;/?:@&=+$,# console.log(encodeURI("http://www.baidu.com.cn"));//http://www.baidu.com.cn cons 阅读全文
posted @ 2021-12-27 12:45 青岑 阅读(29) 评论(0) 推荐(0) 编辑
摘要:在保存用户密码时,不能以明文的方式将密码保存在数据库中,这时就需要将密码进行加密后存储 MD5: Message Digest aigorithm 5:信息摘要算法 压缩性:任意长度的数据,算出的MD5长度都是固定的 容易计算: 从原数据计算出MD5值很容易 抗修改性:对原数据进行任何改动,哪怕只修 阅读全文
posted @ 2021-12-26 16:00 青岑 阅读(233) 评论(0) 推荐(0) 编辑
摘要:暂时只能向测试手机号,发送测试短信模板,内容等弄好补充 阅读全文
posted @ 2021-12-26 15:54 青岑 阅读(32) 评论(0) 推荐(0) 编辑
摘要:一、为什么要学习正则表达式 1、为了解决上述问题。Java提供了正则表达式技术,专门来处理类似于文本问题 2、简单来说:正则表达式是对字符串进行模式匹配的技术 3、正则表达式:regular expression => regexp 二、正则表达式语法 1、元字符-转义号 \\ 在我们使用正则表达式 阅读全文
posted @ 2021-12-24 21:04 青岑 阅读(211) 评论(0) 推荐(0) 编辑
摘要:1、项目文件配置App.vue的内容 <template> <div id="app"> <!--所有界面设置缓存--> <keep-alive> <router-view></router-view> </keep-alive> </div> </template> 2、路由中添加keepAliv 阅读全文
posted @ 2021-12-20 19:41 青岑 阅读(597) 评论(0) 推荐(0) 编辑
摘要:参考博客: https://www.cnblogs.com/zhaoxiaoying/p/10723063.html 1、在format.js中定义全局filter函数 export default { formatDate(value) { let date = new Date(value.re 阅读全文
posted @ 2021-12-20 19:19 青岑 阅读(335) 评论(0) 推荐(0) 编辑
摘要:参考博客: https://blog.csdn.net/yehaocheng520/article/details/118998899 阅读全文
posted @ 2021-12-20 19:15 青岑 阅读(191) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/zhanglizhi111/article/details/70738870 阅读全文
posted @ 2021-12-20 19:09 青岑 阅读(149) 评论(0) 推荐(0) 编辑
摘要:修改全局的input,textarea的placeholder样式 /* 设置input框提示内容的样式 */ input::-webkit-input-placeholder{ }/*webkit 内核浏览器*/ input::-moz-placeholder{ }/*Mozilla Firefo 阅读全文
posted @ 2021-12-20 19:05 青岑 阅读(505) 评论(0) 推荐(0) 编辑
摘要:增加此配置后,就不需要在controller中手动写路径到视图的映射了 阅读全文
posted @ 2021-12-19 15:46 青岑 阅读(254) 评论(0) 推荐(0) 编辑

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