Open up9cloud opened 6 years ago
https://jsfiddle.net/se8f2zkx/1/
add async function to interceptor
Vue.http.interceptors.push(async (request) => {...})
run request
should work
TypeError: Cannot read property 'ok' of undefined
The version i tested:
1.5.1 fail 1.3.4 ok 1.0.3 ok
Reproduction Link
https://jsfiddle.net/se8f2zkx/1/
Steps to reproduce
add async function to interceptor
run request
What is Expected?
should work
What is actually happening?
TypeError: Cannot read property 'ok' of undefined
1.5.1 fail 1.3.4 ok 1.0.3 ok