Added process_time var

This commit is contained in:
斟酌 鵬兄 2022-08-03 15:09:40 +09:00
parent b8d9c492db
commit 0ed3460d7c

View File

@ -78,6 +78,7 @@ VFlow.prototype.endFlow = function( layout, ext )
var FinalHandle = function( def, data, _class ) var FinalHandle = function( def, data, _class )
{ {
var view = doT.template( data, options[ _class ], def ); var view = doT.template( data, options[ _class ], def );
viewData[ "_process_time" ] = () => _self.scope.ProcessTime;
_self.Render( view( viewData ) ); _self.Render( view( viewData ) );
}; };