11 2021 档案
摘要:taskList.sort(this.compare("要排序的参数")); this.list = taskList; compare(property) { return function (a, b) { var value1 = a[property]; var value2 = b[pro
阅读全文
摘要:直接调用此方法即可 获取#号前面的参数 index?aa=123#/ GetRequest() { var url = decodeURI(location.search); //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexO
阅读全文