|
@@ -115,7 +115,7 @@ export default function({ $axios, redirect, req, ...args }) {
|
|
|
} else {
|
|
} else {
|
|
|
Vue.prototype.$message.closeAll()
|
|
Vue.prototype.$message.closeAll()
|
|
|
Vue.prototype.$message.error(data.info)
|
|
Vue.prototype.$message.error(data.info)
|
|
|
- }
|
|
|
|
|
|
|
+ // }
|
|
|
// return data;
|
|
// return data;
|
|
|
}
|
|
}
|
|
|
return res;
|
|
return res;
|
|
@@ -126,5 +126,5 @@ export default function({ $axios, redirect, req, ...args }) {
|
|
|
// if (code === 400) {
|
|
// if (code === 400) {
|
|
|
// redirect('/400')
|
|
// redirect('/400')
|
|
|
// }
|
|
// }
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|