ajax判断链接是否有效?-灵析社区

WhatUpDanger

字符串'2'为什么会显示有效(哈希模式) ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/3e1209f6cbef827d4e09bb7feb62acf8.png)![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/7ab0472e646e17f20d028edda26337fe.png) ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/0fd1f695a9abc911a0b7774a7f385bd8.png) 希望用户点击查看按钮时,如何去判断文献网址的有效性,有效即跳转到该网址 ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/94af9ca5ecc2a2888f3f9b0807cdaa11.png)

阅读量:350

点赞量:17

问AI
加班使我熟睡
你本地开发是history路由模式?"'2'"这种写法是相对路径写法,会根据当前地址栏路径拼接发送,具体的可以在控制台网络中查看发送的路径是什么