fix: 设备接入网关删除提示语
This commit is contained in:
parent
990a2f73af
commit
b01cc1bb17
|
@ -315,7 +315,7 @@ const getActions = (data: Partial<Record<string, any>>): ActionsType[] => {
|
||||||
text: '删除',
|
text: '删除',
|
||||||
disabled: state === 'enabled',
|
disabled: state === 'enabled',
|
||||||
tooltip: {
|
tooltip: {
|
||||||
title: state === 'enabled' ? '已启用的设备不能删除' : '删除',
|
title: state === 'enabled' ? '请先禁用,再删除' : '删除',
|
||||||
},
|
},
|
||||||
popConfirm: {
|
popConfirm: {
|
||||||
title: '确认删除?',
|
title: '确认删除?',
|
||||||
|
|
Loading…
Reference in New Issue