修复了api设置时候可以重复path的bug
This commit is contained in:
@@ -55,7 +55,7 @@ service.interceptors.request.use(
|
||||
service.interceptors.response.use(
|
||||
response => {
|
||||
closeLoading()
|
||||
if (response.data.success || response.headers.success==="true") {
|
||||
if (response.data.success || response.headers.success === "true") {
|
||||
return response.data
|
||||
} else {
|
||||
Message({
|
||||
|
||||
Reference in New Issue
Block a user