|
|
@@ -48,6 +48,9 @@ export const actions = {
|
|
|
}
|
|
|
axios.defaults.headers['cookie'] = store.state.option.cookies + '; ' + store.state.option.sessionId
|
|
|
axios.defaults.headers['User-Agent'] = store.state.option.userAgent
|
|
|
+ } else {
|
|
|
+ axios.defaults.headers['cookie'] = ''
|
|
|
+ axios.defaults.headers['User-Agent'] = ''
|
|
|
}
|
|
|
// 设置跳转的URL
|
|
|
if (!isDev) {
|