Commit dc965b46c65ba211a77bbfa0783631860ba0cbd8
Merge branch 'fix/DEFECT-1797' into 'main_dev'
fix: 修复default产品禁用状态下还能删除 See merge request yunteng/thingskit-front!1067
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -188,7 +188,7 @@ |
| 188 | 188 | popconfirm: { |
| 189 | 189 | title: '是否确认删除操作?', |
| 190 | 190 | onConfirm: handleDelete.bind(null, [item.id]), |
| 191 | - disabled: item.default, | |
| 191 | + disabled: item.default || item.name == 'default', | |
| 192 | 192 | }, |
| 193 | 193 | disabled: item.default || item.name == 'default', |
| 194 | 194 | }, | ... | ... |