mirror of https://github.com/halo-dev/halo-admin
fix: wrong response field is used (#526)
parent
54f20b4895
commit
719e3bd63c
|
@ -151,7 +151,7 @@ export default {
|
||||||
apiClient.mail
|
apiClient.mail
|
||||||
.testSmtpService(this.mailParam)
|
.testSmtpService(this.mailParam)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.$message.info(response.data)
|
this.$message.info(response.message)
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.sendErrored = true
|
this.sendErrored = true
|
||||||
|
|
Loading…
Reference in New Issue