摘要: // url路径、老的参数名,新的参数名、新的值 replaceUrlValue (url, oldName,newName value) { const re = new RegExp(oldName + '=[^&]*', 'gi') return url.replace(re, newName 阅读全文
posted @ 2023-05-18 14:46 温柔本肉 阅读(20) 评论(0) 推荐(0) 编辑