Comparing version 1.1.12 to 1.1.13
@@ -18,3 +18,3 @@ import axios from 'axios'; | ||
}; | ||
let showMessage = _.debounce(function() { | ||
let showMessage = function() { | ||
if (messageList.length === 0) { | ||
@@ -46,5 +46,3 @@ return false | ||
messageList.splice(0, 1); | ||
showMessage() | ||
console.log(messageList) | ||
}, 300) | ||
} | ||
/** | ||
@@ -188,5 +186,7 @@ * @function 对登录的时候密码进行解密 | ||
var instanceResponse = axios.interceptors.response.use(result => { | ||
urlList = urlList.filter(item => { | ||
return item !== result.config.url | ||
}) | ||
if (result.config) { | ||
urlList = urlList.filter(item => { | ||
return item !== result.config.url | ||
}) | ||
} | ||
// 判断是否需要解密 | ||
@@ -193,0 +193,0 @@ if (result.data.isEncrypt) { |
{ | ||
"name": "one-sport", | ||
"version": "1.1.12", | ||
"version": "1.1.13", | ||
"description": "use for one-sport company", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
10524