can affect eye from many ways like you might have visual fields defects or papilloedema.
accordings to your comlplaints i think this might be symptoms pf papilloedema.
in papilloedema pressure inside brain increases which can affect optic nerve
i would suggest you please visit a ophthalmologist and get your diagnosis confirmed and traetment for the same.
hope this helps