index.html
header.ejs(和上边那个文件在同一个目录下)
<%=title %>
<% for(var i=0; i
-
<%= supplies[i] %>
<% } %>
我在顶部有引用js/ejs.js的~~~这是为什么呢??
这个是直接打印的ejs
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
ejs.js 是这么用的吧: