js 正反斜杠 替换

 
'/'替换'\\'
url= url.replace(/\\/g,'/');
        
posted @ 2022-07-13 09:48  流年sugar  阅读(208)  评论(0)    收藏  举报