I want to replace variable here

前端 未结 0 1580
花落未央
花落未央 2021-02-01 00:16

I want to replace the value of post.title with replace() method.
i tried ${post.title.replace(/\\&/g, \'-\')} << this is not working

相关标签:
回答
  • 消灭零回复
提交回复
热议问题