fix: bug#10996

This commit is contained in:
xieyonghong 2023-03-25 21:12:19 +08:00
parent 0f17aee1ab
commit 4445e81ceb
1 changed files with 3 additions and 0 deletions

View File

@ -819,6 +819,9 @@ const bindDevice = (val: boolean) => {
* 批量激活
*/
const handleActive = () => {
if (!_selectedRowKeys.value.length) {
return message.warn('请选择数据');
}
if (
_selectedRowKeys.value.length >= 10 &&
_selectedRowKeys.value.length <= 100