Commit 76d272f9d99d6600ac81f9305838c69dc9d831f9

Authored by loveumiko
1 parent 53483454

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

@@ -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 },