tweak spelling mistakes
This commit is contained in:
parent
cc636a4ccd
commit
a95616f273
|
@ -14,7 +14,7 @@ import Layout from '../views/layout/Layout'
|
||||||
* alwaysShow: true if set true, will always show the root menu, whatever its child routes length
|
* alwaysShow: true if set true, will always show the root menu, whatever its child routes length
|
||||||
* if not set alwaysShow, only more than one route under the children
|
* if not set alwaysShow, only more than one route under the children
|
||||||
* it will becomes nested mode, otherwise not show the root menu
|
* it will becomes nested mode, otherwise not show the root menu
|
||||||
* redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
|
* redirect: noredirect if `redirect:noredirect` will no redirect in the breadcrumb
|
||||||
* name:'router-name' the name is used by <keep-alive> (must set!!!)
|
* name:'router-name' the name is used by <keep-alive> (must set!!!)
|
||||||
* meta : {
|
* meta : {
|
||||||
title: 'title' the name show in submenu and breadcrumb (recommend set)
|
title: 'title' the name show in submenu and breadcrumb (recommend set)
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { getToken } from '@/utils/auth'
|
||||||
|
|
||||||
// 创建axios实例
|
// 创建axios实例
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
baseURL: process.env.BASE_API, // api的base_url
|
baseURL: process.env.BASE_API, // api 的 base_url
|
||||||
timeout: 5000 // 请求超时时间
|
timeout: 5000 // 请求超时时间
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ service.interceptors.request.use(
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
// respone拦截器
|
// response 拦截器
|
||||||
service.interceptors.response.use(
|
service.interceptors.response.use(
|
||||||
response => {
|
response => {
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue