Commit dc965b46c65ba211a77bbfa0783631860ba0cbd8

Authored by xp.Huang
2 parents 0e1c133d 76d272f9

Merge branch 'fix/DEFECT-1797' into 'main_dev'

fix: 修复default产品禁用状态下还能删除

See merge request yunteng/thingskit-front!1067
@@ -188,7 +188,7 @@ @@ -188,7 +188,7 @@
188 popconfirm: { 188 popconfirm: {
189 title: '是否确认删除操作?', 189 title: '是否确认删除操作?',
190 onConfirm: handleDelete.bind(null, [item.id]), 190 onConfirm: handleDelete.bind(null, [item.id]),
191 - disabled: item.default, 191 + disabled: item.default || item.name == 'default',
192 }, 192 },
193 disabled: item.default || item.name == 'default', 193 disabled: item.default || item.name == 'default',
194 }, 194 },