新增 code 组件的 className 属性

This commit is contained in:
贤心 2023-02-20 23:27:08 +08:00
parent 7ba5e4b8cf
commit 36a3b23047

View File

@ -106,6 +106,7 @@ layui.define(['lay', 'util', 'element', 'form'], function(exports){
var elemPreviewViewHas = othis.next('.' + CONST.ELEM_ITEM +'-preview');
if(options.id) elemView.attr('id', options.id);
elemView.addClass(options.className);
elemTabView.attr('lay-filter', FILTER_VALUE);
// 标签头