js如何截取地址栏的一级域名,截取后在html中如何显示window.onload = function(){var urlArr = window.location.href.split('')var urlShowArea = document.createElemen2023-04-12JavaScript510