自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 commit提交报错

subject may not be empty [subject-empty]

2022-11-17 10:36:37 629

原创 windows下更新npm node的方法

一:更新npm1.查看当前版本npm -v2.根据官网(https://www.npmjs.com/get-npm)提供的命令更新:npm install npm@latest -g3.我的电脑出现了如下错误:C:\Users\lenovo\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js:79      let notifier = requ...

2018-05-06 16:42:43 5970 1

原创 学习angular.JS phoneCat遇到的问题

Uncaught Error: [$injector:nomod] Module 'phoneDetail' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as...

2018-05-03 11:30:51 200

原创 ajax请求跨域 Charles调试

var _mm={request:function  (param) {var _this=this;$.ajax({type:param.method||'get',url:param.url||'',dataType:param.type||'json',data:param.data||'',success:function(res){//请求成功if

2017-10-21 11:44:23 1810 3

原创 获取url参数window.location.search.substr(1).match(reg)

getUrlParam:function(name){  var reg=new new RegExp('(^|&)'+name+'=([^&]*)(&|$)');  var result=window.location.search.substr(1).match(reg);  return result?decodeURIComponent(result[2]:null},

2017-10-21 11:28:59 13459 2

原创 ajax步骤、状态码、get/post方式区别、封装ajax函数

window.onload = function() {var oBtn = document.getElementById('btn');oBtn.onclick = function() {//打开浏览器/*1.创建一个ajax对象ie6以下new ActiveXObject('Microsoft.XMLHTTP')*/var xhr = null;try

2017-10-21 11:15:34 851

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除