Commit 8113fd86 authored by 13841799530's avatar 13841799530

www

parent f9adf94c
......@@ -37,6 +37,7 @@ service.interceptors.response.use(response => {
return res
}else if(res.code === 301){
Notify({ type: 'danger', message: res.msg});
return res
}
}else{
Notify({ type: 'danger', message: '失败' });
......
......@@ -66,6 +66,7 @@ export default {
methods: {
onSubmit(values) {
getFun('check/token',values).then((Response)=>{
console.log(Response)
if(Response.code==0){
this.$notify({
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