Dynamical evolution of the electromagnetic perturbation with Weyl corrections