05 2018 档案
摘要:axios基本配置 使用方法 封装get和post方法 封装接口 页面调用query.vue
阅读全文
摘要:ajax步骤:第一步:创建xmlhttprequest对象,var xmlhttp = new XMLHttpRequest(); XMLHttpRequest对象和服务器交换数据。第二步:使用xmlhttprequest对象的open()和send()方法发送资源请求给服务器。xmlhttp.op
阅读全文
摘要:angular封装公共方法到service中间件,节省开发时间 layer.service.ts 组件接收调用 demo.component.html demo.component.ts
阅读全文
摘要:请求出来的数据是二级列表,需要点击一级列表展开相应的二级列表 点击显示隐藏二级列表
阅读全文
摘要:"no-alert": 0,//禁止使用alert confirm prompt "no-array-constructor": 2,//禁止使用数组构造器 "no-bitwise": 0,//禁止使用按位运算符 "no-caller": 1,//禁止使用arguments.caller或arguments.callee "no-catch-shadow": 2,//禁止catch子句参数与外部...
阅读全文