新增 code 组件的 className
属性
This commit is contained in:
parent
7ba5e4b8cf
commit
36a3b23047
@ -106,6 +106,7 @@ layui.define(['lay', 'util', 'element', 'form'], function(exports){
|
|||||||
var elemPreviewViewHas = othis.next('.' + CONST.ELEM_ITEM +'-preview');
|
var elemPreviewViewHas = othis.next('.' + CONST.ELEM_ITEM +'-preview');
|
||||||
|
|
||||||
if(options.id) elemView.attr('id', options.id);
|
if(options.id) elemView.attr('id', options.id);
|
||||||
|
elemView.addClass(options.className);
|
||||||
elemTabView.attr('lay-filter', FILTER_VALUE);
|
elemTabView.attr('lay-filter', FILTER_VALUE);
|
||||||
|
|
||||||
// 标签头
|
// 标签头
|
||||||
|
Loading…
Reference in New Issue
Block a user