|
@ -269,7 +269,9 @@ export default { |
|
|
if (!response.status) { |
|
|
if (!response.status) { |
|
|
that.$message.warning(response.info); |
|
|
that.$message.warning(response.info); |
|
|
}else{ |
|
|
}else{ |
|
|
|
|
|
localStorage.setItem('token', response.data) |
|
|
that.$message.success(response.info); |
|
|
that.$message.success(response.info); |
|
|
|
|
|
this.$router.push(`/agent/siteAdd`) |
|
|
} |
|
|
} |
|
|
}).catch(error => { |
|
|
}).catch(error => { |
|
|
console.error(error, 'error') |
|
|
console.error(error, 'error') |
|
|