Commit e2c2ccc459753e255c0c43e89dc1ea6ebcf5aa9f

Authored by xp.Huang
2 parents a53b0abb 2ea71f21

Merge branch 'fix/rule/linkedge-is-edge' into 'main_dev'

perf: 优化设备删除提示

See merge request yunteng/thingskit-front!1429
@@ -235,7 +235,7 @@ @@ -235,7 +235,7 @@
235 ifShow: authBtn(role) && record.customerId === undefined, 235 ifShow: authBtn(role) && record.customerId === undefined,
236 color: 'error', 236 color: 'error',
237 popConfirm: { 237 popConfirm: {
238 - title: '是否确认删除', 238 + title: !!record.isEdge ? '此设备来自边端,请谨慎删除' : '是否确认删除',
239 confirm: handleDelete.bind(null, record), 239 confirm: handleDelete.bind(null, record),
240 }, 240 },
241 }, 241 },