diff --git a/src/pages/device/deviceInfo/index.jsx b/src/pages/device/deviceInfo/index.jsx index 832ccbb..30f2905 100644 --- a/src/pages/device/deviceInfo/index.jsx +++ b/src/pages/device/deviceInfo/index.jsx @@ -202,23 +202,7 @@ const GoodsTypeManage = () => { > 更新 , - { - actionRef.current.reload(); - record.status = record.status ? 0 : 1; - - await UpdateDeviceInfo(record).then((r) => { - if (r.succeeded) { - message.success('配置成功'); - } else { - message.error('配置失败请重试!'); - } - }); - }} - > - {record.status == 0 ? '停用' : '正常'} - , + // {