A polyethylene oxide/metal-organic framework composite solid electrolyte with uniform Li deposition and stability for lithium anode by immobilizing anions.