diff --git a/app/adminapi/validate/auth/MenuValidate.php b/app/adminapi/validate/auth/MenuValidate.php index a2dbef7eb..5d6340b8e 100755 --- a/app/adminapi/validate/auth/MenuValidate.php +++ b/app/adminapi/validate/auth/MenuValidate.php @@ -134,6 +134,7 @@ class MenuValidate extends BaseValidate } $where[] = ['type', '=', $data['type']]; $where[] = ['name', '=', $data['name']]; + $where[] = ['pid', '=', $data['pid']]; if (!empty($data['id'])) { $where[] = ['id', '<>', $data['id']];