• 此项目
    • 正在载入...
  • 登录

coupon.xp.yn.cn / coupon_backend · 文件

转到一个项目

GitLab

  • 转到群组
  • 项目
  • 活动
  • 文件
  • 提交
  • 管道 0
  • 构建 0
  • 图表
  • 里程碑
  • 问题 0
  • 合并请求 0
  • 成员
  • 标记
  • 维基
  • 派生
  • 网络
  • 创建新的问题
  • coupon_backend
  • public
  • assets
  • libs
  • art-template
  • src
  • render.js
  • 2023.05.23 kevin xs
    4c1bcf23
    黄超 在
    2023-05-23 17:26:49 +0800
    提交 浏览文件
render.js 249 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12
/**
 * 渲染模板
 * @name    template.render
 * @param   {String}    模板
 * @param   {Object}    数据
 * @return  {String}    渲染好的字符串
 */
template.render = function (source, options) {
    return compile(source)(options);
};