js 判断a 的路径 是不是含有 http 或者 htttps

2025-03-18 20:07:49
推荐回答(1个)
回答1:

获取a的href属性 然后indexof(http)&&indexof(https)