JS批量替换正斜杠

master.pay_date = (master.pay_date + '').replace('00:00:00', '').replace('0:00:00', '').replace(new RegExp("/", "gm"), '-');
new RegExp("/", "gm")

  

posted @ 2022-12-05 14:07  w1433189426  阅读(162)  评论(0编辑  收藏  举报