laytpl 去掉无用的 console.log()

This commit is contained in:
thinkgem
2020-11-24 23:52:31 +08:00
parent c57bc6e6c0
commit ade275c057

View File

@@ -90,7 +90,6 @@ Tpl.pt.render = function(data, callback){
var that = this, tpl;
if(!data) return tool.error('no data');
tpl = that.cache ? that.cache(data, tool.escape) : that.parse(that.tpl, data);
console.log()
if(!callback) return tpl;
callback(tpl);
};