Commit 8113fd86 authored by 13841799530's avatar 13841799530

www

parent f9adf94c
...@@ -37,6 +37,7 @@ service.interceptors.response.use(response => { ...@@ -37,6 +37,7 @@ service.interceptors.response.use(response => {
return res return res
}else if(res.code === 301){ }else if(res.code === 301){
Notify({ type: 'danger', message: res.msg}); Notify({ type: 'danger', message: res.msg});
return res
} }
}else{ }else{
Notify({ type: 'danger', message: '失败' }); Notify({ type: 'danger', message: '失败' });
......
...@@ -66,6 +66,7 @@ export default { ...@@ -66,6 +66,7 @@ export default {
methods: { methods: {
onSubmit(values) { onSubmit(values) {
getFun('check/token',values).then((Response)=>{ getFun('check/token',values).then((Response)=>{
console.log(Response)
if(Response.code==0){ if(Response.code==0){
this.$notify({ this.$notify({
message:'登录成功', message:'登录成功',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment