mirror of
https://gitee.com/layui/layui.git
synced 2025-10-27 03:09:32 +08:00
新增 code 组件的 className 属性
This commit is contained in:
@@ -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);
|
||||
|
||||
// 标签头
|
||||
|
||||
Reference in New Issue
Block a user