A composite polymer electrolyte is synthesized, which has an improved ionic conductivity, superior interface compatibility and sufficient dendrite inhibition ability, bringing excellent electrochemical performance to all-solid-state batteries.