Commit 85580398 authored by zhanglw's avatar zhanglw

z

parent c455f899
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
location.reload() location.reload()
}, },
open() { open() {
this.$confirm('确定注销并退出系统吗?', '提示', { this.$confirm('确定退出系统吗?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
......
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
}) })
}, },
open() { open() {
this.$confirm('确定注销并退出系统吗?', '提示', { this.$confirm('确定退出系统吗?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
......
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
}) })
}, },
open() { open() {
this.$confirm('确定注销并退出系统吗?', '提示', { this.$confirm('确定退出系统吗?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
......
...@@ -216,16 +216,6 @@ export default { ...@@ -216,16 +216,6 @@ export default {
duration: 5000 duration: 5000
}) })
} }
HttpReq.webClientApi.sendSmsCode({
tel: this.loginForm.username
}).then((res) => {
this.$notify({
title: res.msg,
type: 'success',
duration: 2500
})
if (res.code === 200) {
this.smsBtn = '短信已发送'
this.smsTime = 30 this.smsTime = 30
this.timer = setInterval(() => { this.timer = setInterval(() => {
this.smsTime-- this.smsTime--
...@@ -235,6 +225,16 @@ export default { ...@@ -235,6 +225,16 @@ export default {
this.smsBtn = '短信获取验证码' this.smsBtn = '短信获取验证码'
} }
}, 1000) }, 1000)
HttpReq.webClientApi.sendSmsCode({
tel: this.loginForm.username
}).then((res) => {
this.$notify({
title: res.msg,
type: res.code === 200 ? 'success' : 'error',
duration: 2500
})
if (res.code === 200) {
this.smsBtn = '短信已发送'
} }
}) })
}, },
......
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