mirror of
https://github.com/itbaima-study/SpringBoot-Vue-Template-Jwt.git
synced 2025-05-18 13:31:15 +08:00
修复Get请求失败默认处理问题
This commit is contained in:
parent
68966cd9d8
commit
0bc0f5e735
@ -91,8 +91,8 @@ function logout(success, failure = defaultFailure){
|
|||||||
}, failure)
|
}, failure)
|
||||||
}
|
}
|
||||||
|
|
||||||
function get(url, success, failure) {
|
function get(url, success, failure = defaultFailure) {
|
||||||
internalGet(url, accessHeader(), success, failure = defaultFailure)
|
internalGet(url, accessHeader(), success, failure)
|
||||||
}
|
}
|
||||||
|
|
||||||
function unauthorized() {
|
function unauthorized() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user