提交 3835bcbe authored 作者: pengxiaohui's avatar pengxiaohui

去掉console

上级 7868bc0e
...@@ -108,7 +108,6 @@ export default { ...@@ -108,7 +108,6 @@ export default {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
postNes(params) postNes(params)
.then(res => { .then(res => {
console.log(res)
if (res && res.status === 200 && res.error === 0) { if (res && res.status === 200 && res.error === 0) {
resolve({ resolve({
type: 'enroll', type: 'enroll',
...@@ -136,7 +135,6 @@ export default { ...@@ -136,7 +135,6 @@ export default {
} }
sendCode(param) sendCode(param)
.then(res => { .then(res => {
console.log(res)
this.btnDisabledTimer() this.btnDisabledTimer()
if (res && res.code === 0) this.$message.success('验证码已发送,请注意查收') if (res && res.code === 0) this.$message.success('验证码已发送,请注意查收')
else this.$message.error('获取验证码失败,请稍后再试') else this.$message.error('获取验证码失败,请稍后再试')
...@@ -148,7 +146,6 @@ export default { ...@@ -148,7 +146,6 @@ export default {
const checkCodeParam = '?account=' + this.formInfo.phone + '&code=' + this.sendCode + '&countryCode=86' const checkCodeParam = '?account=' + this.formInfo.phone + '&code=' + this.sendCode + '&countryCode=86'
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
checkCode(checkCodeParam).then(res => { checkCode(checkCodeParam).then(res => {
console.log(res)
if (res && res.code === 0) { if (res && res.code === 0) {
res.type = 'checkcode' res.type = 'checkcode'
resolve({ resolve({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论