fix: message type error (#111)

* 1.3.0-beta.2

* fix: message type error.
pull/112/head
Ryan Wang 2020-03-20 20:51:03 +08:00 committed by GitHub
parent 4444f27030
commit febf008624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -640,7 +640,7 @@ export default {
},
handleEditStatusMore(status) {
if (this.selectedRowKeys.length <= 0) {
this.$message.success('请至少选择一项!')
this.$message.info('请至少选择一项!')
return
}
commentApi.updateStatusInBatch(this.type, this.selectedRowKeys, status).then(response => {
@ -651,7 +651,7 @@ export default {
},
handleDeleteMore() {
if (this.selectedRowKeys.length <= 0) {
this.$message.success('请至少选择一项!')
this.$message.info('请至少选择一项!')
return
}
commentApi.deleteInBatch(this.type, this.selectedRowKeys).then(response => {

View File

@ -722,7 +722,7 @@ export default {
},
handleEditStatusMore(status) {
if (this.selectedRowKeys.length <= 0) {
this.$message.success('请至少选择一项!')
this.$message.info('请至少选择一项!')
return
}
postApi.updateStatusInBatch(this.selectedRowKeys, status).then(response => {
@ -733,7 +733,7 @@ export default {
},
handleDeleteMore() {
if (this.selectedRowKeys.length <= 0) {
this.$message.success('请至少选择一项!')
this.$message.info('请至少选择一项!')
return
}
postApi.deleteInBatch(this.selectedRowKeys).then(response => {

View File

@ -82,7 +82,7 @@ export default {
},
handleRestartApplication() {
adminApi.restartApplication().then(response => {
this.$message.success(`重启中...`)
this.$message.info(`重启中...`)
})
}
}

View File

@ -154,7 +154,7 @@ export default {
adminApi
.sendResetCode(this.resetParam)
.then(response => {
this.$message.info('邮件发送成功,五分钟内有效')
this.$message.success('邮件发送成功,五分钟内有效')
})
.finally(() => {
hide()
@ -204,7 +204,7 @@ export default {
return
}
adminApi.resetPassword(this.resetParam).then(response => {
this.$message.info('密码重置成功!')
this.$message.success('密码重置成功!')
this.$router.push({ name: 'Login' })
})
}