We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vm中的include和request.getParameter(获取页面URL)的方法fekit没有进行支持
The text was updated successfully, but these errors were encountered:
已实现 baa3545
request.getParameter 这个是 java 提供的功能,使用 vmjs 可以进行模拟
建立 index.vmjs 与 index.vm 放在同一目录下
index.vm
$request.getParameter("hoho") <hr />
index.vmjs
module.exports = { "request" : { getParameter : function(key){ return request.query[key]; } } };
访问的时候,以 http://127.0.0.1/index.vm?hoho=1 ,则模板就可以通过 request.getParameter("hoho") 得到 1 的值
Sorry, something went wrong.
No branches or pull requests
vm中的include和request.getParameter(获取页面URL)的方法fekit没有进行支持
The text was updated successfully, but these errors were encountered: