-1) { url = window.location.href.split('//www.')[1] }else{ url = window.location.href.split('//')[1] } console.log(window.location.href.split('//www.'),'url',url) window.location.href = "http://m."+url; }

幸运365