ulrl方法
url.format(urlObj) //将对象装换成url
url.parse(urlStr[, parseQueryString][, slashesDenoteHost]) //将链接解析为对象
url.resolve(from, to)
ulrl方法
url.format(urlObj) //将对象装换成url
url.parse(urlStr[, parseQueryString][, slashesDenoteHost]) //将链接解析为对象
url.resolve(from, to)
转载于:https://www.cnblogs.com/zzcit/p/5850688.html