This commit is contained in:
sentsin
2017-08-24 08:59:00 +08:00
parent bdff3121ea
commit d4500fef27
25 changed files with 27 additions and 27 deletions

View File

@@ -326,7 +326,7 @@ layui.define(['laytpl', 'laypage', 'layer', 'form'], function(exports){
}() +'>';
}
if(item3.toolbar){
return laytpl($(item3.toolbar).html()).render(item1);
return laytpl($(item3.toolbar).html()||'').render(item1);
}
return item3.templet ? laytpl($(item3.templet).html() || String(content)).render(item1) : content;
}()