mirror of
https://gitee.com/layui/layui.git
synced 2025-08-20 00:44:23 +08:00
perf(code): 优化对预览区域中的 tabs 组件的定向渲染
This commit is contained in:
parent
a67ec33b05
commit
c5b90d63be
@ -404,7 +404,9 @@ layui.define(['lay', 'util', 'element', 'tabs', 'form'], function(exports){
|
||||
render: function(){
|
||||
form.render(thisItemBody.find('.layui-form'));
|
||||
element.render();
|
||||
tabs.render();
|
||||
tabs.render({
|
||||
elem: ['.'+ CONST.ELEM_PREVIEW, '.layui-tabs'].join(' ')
|
||||
});
|
||||
}
|
||||
});
|
||||
},3);
|
||||
|
Loading…
Reference in New Issue
Block a user