F 修复监控中心 - 禁用启用描述

pull/31/head
zypo 2020-03-05 08:47:09 +08:00
parent 58841d57ce
commit aea5843b71
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class ComTable extends React.Component {
handleActive = (text) => {
Modal.confirm({
title: '操作确认',
content: `确定要${text['is_active'] ? '禁用' : '启用'}${text['nickname']}】?`,
content: `确定要${text['is_active'] ? '禁用' : '启用'}${text['name']}】?`,
onOk: () => {
return http.patch(`/api/monitor/`, {id: text.id, is_active: !text['is_active']})
.then(() => {