mm_tpl 2.3.7 → 2.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -299,7 +299,7 @@ Tpl.prototype.render_sub = function(body, model, options) {
299
299
  */
300
300
  Tpl.prototype.render = function(body, model, options) {
301
301
  body = this.change(body);
302
- body = this.render_sub(body);
302
+ body = this.render_sub(body, model, options);
303
303
  return this.change(body, true);
304
304
  };
305
305
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_tpl",
3
- "version": "2.3.7",
3
+ "version": "2.3.9",
4
4
  "description": "这是超级美眉模板帮助类模块,用于MVC模式下的视图渲染",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,6 +28,6 @@
28
28
  "homepage": "https://github.com/qiuwenwu/mm_tpl#readme",
29
29
  "dependencies": {
30
30
  "art-template": "^4.13.2",
31
- "mm_expand": "^1.6.9"
31
+ "mm_expand": "^1.7.0"
32
32
  }
33
33
  }