mirror of https://github.com/halo-dev/halo-admin
parent
4444f27030
commit
febf008624
|
@ -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 => {
|
||||
|
|
|
@ -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 => {
|
||||
|
|
|
@ -82,7 +82,7 @@ export default {
|
|||
},
|
||||
handleRestartApplication() {
|
||||
adminApi.restartApplication().then(response => {
|
||||
this.$message.success(`重启中...`)
|
||||
this.$message.info(`重启中...`)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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' })
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue