摘要: 其中window.location.search为获取链接参数的方法,之前一直使用window.location.href然后使用split方法拆分。才发现window.location.search.substr(1)好像更方便。 substr() 方法可在字符串中抽取从 start 下标开始的指 阅读全文
posted @ 2018-08-30 13:38 chillylight 阅读(2207) 评论(0) 推荐(0)