Comparing version 1.1.8 to 1.1.9
@@ -41,3 +41,3 @@ import axios from 'axios'; | ||
} | ||
export default function({store, isloaded = false, test}) { | ||
export default function({store, isloaded = false, whiteList = []}) { | ||
/** | ||
@@ -54,3 +54,3 @@ * 1: 成功, | ||
var instanceRequest = axios.interceptors.request.use(config => { | ||
if (urlList.includes(config.url)) { | ||
if (urlList.includes(config.url) && !whiteList.includes(config.url)) { | ||
messageList.push({ | ||
@@ -57,0 +57,0 @@ type: 4 |
{ | ||
"name": "one-sport", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "use for one-sport company", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9240