摘要: initCate() // 定义加载文章分类的方法 function initCate() { $.ajax({ method: 'GET', url: '/my/article/cates', success: function(res) { if (res.status !== 0) { ret 阅读全文
posted @ 2020-08-16 16:08 缔造cool 阅读(88) 评论(0) 推荐(1)
摘要: SSH KEY的配置 生成 SSH KEY ssh-keygen -t rsa -b 4096 -C "your_email@example.com" 文件在哪里生成的 C:\用户\当前用户名\.ssh 关心的 后缀名为 .pub 的文件 文件里面内容复制 github | gitee 设置里面找到 阅读全文
posted @ 2020-08-16 15:47 缔造cool 阅读(82) 评论(0) 推荐(1)
摘要: 一、 Git 常用命令速查 git branch 查看本地所有分支 git status 查看当前状态 git commit 提交 git branch -a 查看所有的分支 git branch -r 查看远程所有分支 git commit -am "init" 提交并且加注释 git remot 阅读全文
posted @ 2020-08-16 15:44 缔造cool 阅读(116) 评论(0) 推荐(1)
摘要: 一.表单 form 1.监听submit事件 2.阻止默认行为 e.preventDefault; 3.获取表单内容 $(this). 4.调用$.ajax 进行网络请求 (发现服务器返回 密码为空或者是用户名为空,原因:请求的参数名不一致) 有问题检查一下三个方面: 看网络状态 看请求的 url 阅读全文
posted @ 2020-08-16 11:41 缔造cool 阅读(60) 评论(0) 推荐(0)