文字描述:页面发送一个url请求,传递到前端控制器DispatcherServlet,前端控制器根据url请求在HandlerMapping处理映射器中查找url对应的Handler,前端控制器在拿到handler后,找到HandlerAdapter处理适配器,通过它来访问处理器并执行处理器,处理器 ...
分类:
编程语言 时间:
2020-01-15 12:12:13
阅读次数:
81
map():通过指定函数处理数组的每个元素,并返回处理后的数组。(不遍历空数组,不改变原数组,只是相当于把原数组克隆一份,把克隆的这一份的数组中的对应项改变了) let arr = [1,2,3,4,5] console.log(arr.map((item,index,array)=>item+1) ...
分类:
其他好文 时间:
2020-01-15 12:09:50
阅读次数:
94
arr.forEach(); let arr = [1,2,3,4]; arr.forEach(function(a,b){ // 第一个参数就是 数组的列表 console.log(a);//1,2,3,4 // 第二个参数是 下标 console.log(b);//0,1,2,3 }); let ...
分类:
编程语言 时间:
2020-01-15 11:52:10
阅读次数:
62
全局操作变量 /** * @description 标注弹出框 */ HtmlPopup = null; /** * @description 临时图层类数据源 */ VectorSource = null; /** * @description 绘图工具 */ Draw = null; let m ...
分类:
其他好文 时间:
2020-01-15 11:43:34
阅读次数:
188
PV (Persistent Volume) 和Volume的区别 只能是网络存储 独立于Pod之外 PV支持的主流存储方案: GCEPersistentDisk AWSElasticBlockStore AzureFile AzureDisk FC (Fibre Channel) Flocker ...
分类:
Web程序 时间:
2020-01-15 10:02:47
阅读次数:
98
1、巧用select 将复杂的for循环和foreach循环提炼在 List<Math_Deptinfo> list = bLL_Deptinfo.Search(start, length, out total, where); List<UI_Math_Deptinfo> listUIRoleMo ...
1、函数的定义方式(4种) // (1)、命名函数 function add1(x: number, y: number): number { return x + y; } // (2)、匿名函数 let add2:(x: number, y: number) => number = functi ...
分类:
其他好文 时间:
2020-01-14 16:28:36
阅读次数:
87
通过TF的Ingress控制器,Kubernetes能够将应用程序安全地公开到网络上。
分类:
Web程序 时间:
2020-01-14 09:28:11
阅读次数:
102
1 const html=document.querySelector('html') 2 const htmlChild=html.children; 3 let obj={}; 4 function fn(children){ 5 for(let i of children){ 6 if(obj ...
分类:
Web程序 时间:
2020-01-13 23:56:34
阅读次数:
192