修改验证码接口
This commit is contained in:
parent
3e4ec97803
commit
b711e87f50
|
|
@ -36,7 +36,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
|
|
||||||
// Various Dev Server settings
|
// Various Dev Server settings
|
||||||
host: "0.0.0.0", // can be overwritten by process.env.HOST
|
host: "localhost", // can be overwritten by process.env.HOST
|
||||||
port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||||
autoOpenBrowser: true,
|
autoOpenBrowser: true,
|
||||||
errorOverlay: true,
|
errorOverlay: true,
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@
|
||||||
// 获取验证码
|
// 获取验证码
|
||||||
getCaptcha () {
|
getCaptcha () {
|
||||||
this.dataForm.uuid = getUUID()
|
this.dataForm.uuid = getUUID()
|
||||||
this.captchaPath = this.$http.adornUrl(`/captcha.jpg?uuid=${this.dataForm.uuid}`)
|
this.captchaPath = this.$http.adornUrl(`indetcode/getCode?uuid=${this.dataForm.uuid}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue