04 2020 档案

摘要:方法一:.Array.prototype.unique=function(){ var arr=[];//新建一个临时数组 for(var i=0;i<this.length;i++){//遍历当前数组 if(arr.indexOf(this[i]) 1){//当前数组的第i个值在新数组中找不到,则 阅读全文
posted @ 2020-04-16 14:28 田天1 阅读(704) 评论(0) 推荐(0)
摘要:在ajax请求的时候添加 contentType: "application/json", 阅读全文
posted @ 2020-04-07 17:56 田天1