Open jinhongli opened 7 years ago
在原使用方式上,添加一种新的方式:渲染模板时使用绝对路径。
具体为:
settings.sourceRoot
settings.viewRoot
.render()
在原使用方式上,添加一种新的方式:渲染模板时使用绝对路径。
具体为:
settings.sourceRoot
、不定义settings.viewRoot
.render()
等方法渲染模板时,第一个参数(模板路径)使用绝对路径