How to return Html from an EJS method not in string format

前端 未结 0 1794
遇见更好的自我
遇见更好的自我 2021-01-07 15:33

For example, if I have a file called functions.ejs with this method in it -

<%
myFunction = (msg) => { %>
    

<%= msg %>

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