MagSafe兼容系列

var role = encodeURI(""); var handle = "magsafe" var url = "/collections/magsafe" if (role != '') { if (window.location.pathname.indexOf(role) == -1) window.location.href = url + "/" + role }