1.0.10 • Published 5 years ago

ag-axios v1.0.10

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

ag-axios

main.js引入

import Agaxios from 'ag-axios';

main.js使用

Vue.use(Agaxios,{
    baseURL:"/api",//反向代理地址
    timeout:30,//请求超时时间
    withCredentials:true,//跨域是否携带token等信息
    login:"/login",//登录界面的路由路径
    error404:"/error/404"//请求404的路由路径
})
1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago