![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
services
文章平均质量分 65
好多米阳光
路漫漫其修远兮,吾将上下而求索。
展开
-
Angularjs+require 单页面笔记
一 、 HTML部分 二 、 Main入口文件 var APP_VERSION = 1.2; //初始化 (init()); //检测浏览器是否支持createXmlHttp function createXmlHttp() { var xhrobj = false; try { // ie msxml3.0+ xhrob原创 2016-12-12 15:47:45 · 1137 阅读 · 0 评论 -
Vue 工具类整理 完整案例(可直接使用)
上一篇博客介绍了,全局使用request工具类! 本次完全独立出来,完整的工具类 import Vue from 'vue' import router from '../router/index' let Export = {} let vue = new Vue({router}) Export.post = function (options) { options.method =原创 2017-09-30 15:49:48 · 5591 阅读 · 0 评论 -
vue请求类的封装,基于jQuery版本和Axios,两个版本
vue中基于jQuery请求类的封装: /** * 该插件基于JQuery的基础封装的,使用的时请自配JQuery * 使用方法:在页面import该JS文件 * XXX.post({··parameter··}).then((response) =>{ success }) */ import Vue from 'vue' import store from '.....原创 2017-09-30 13:35:59 · 2818 阅读 · 0 评论