src/utils/request.js
@@ -18,7 +18,7 @@ // let each request carry token // ['X-Token'] is a custom headers key // please modify it according to the actual situation config.headers['token'] = getToken() config.headers['X-Token'] = getToken() } config.headers['link'] = store.state.settings.link // console.log('config' ,config) @@ -48,7 +48,6 @@ // if the custom code is not 20000, it is judged as an error. if (res.code !== 200) { console.log(res.message || 'Error') // Message({ // message: res.message || 'Error', // type: 'error',