const urlStr = 'http://www.reibang.com/aa/bb/cc' const url = new URL(urlStr) 此時(shí)可以通過url.origin 進(jìn)行獲取 image.png