1.0.6 • Published 3 years ago

sense-jump-login v1.0.6

Weekly downloads
56
License
MIT
Repository
github
Last release
3 years ago

sense-jump-login

描述:根据请求返回的状态码跳转登录页

使用方法

安装

npm install sense-jump-login

开发环境

npm start 启动服务

编译

npm run build

组件内引入

import jumpLogin from 'sense-jump-login';

axios.get().then().catch((err)=>{ jumpLogin(err); //刷新当前页面 jumpLogin(err, true); // 跳转登录页 })

插件如有bug请联系linguomin_sam@163.com

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago