This commit is contained in:
贤心 2019-06-03 08:57:12 +08:00
parent 2257341313
commit 08be7b681c
3 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

2
dist/layui.all.js vendored

File diff suppressed because one or more lines are too long

View File

@ -77,9 +77,8 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
var str = item3.templet ? function(){
return typeof item3.templet === 'function'
? item3.templet(tplData)
: laytpl($(item3.templet).html() || String(content) || '').render(tplData)
: laytpl($(item3.templet).html() || String(content)).render(tplData)
}() : content;
str = str || '';
return text ? $('<div>'+ str +'</div>').text() : str;
}