Study on edge localized mode during plasma vertical swing in HL-2A tokamak