Fix add environment validation (rancher/rancher#6439)
Fix add environment validation (rancher/rancher#6439)

pengjiang80/ui,pengjiang80/ui,rancherio/ui,westlywright/ui,rancher/ui,vincent99/ui,vincent99/ui,rancherio/ui,lvuch/ui,lvuch/ui,pengjiang80/ui,westlywright/ui,westlywright/ui,rancher/ui,rancherio/ui,rancher/ui,vincent99/ui,lvuch/ui