mirror of
https://gitee.com/layui/layui.git
synced 2025-04-04 23:39:34 +08:00
docs: 修复 tabs 文档中自定义事件示例重新点击 Preview 失效的问题
This commit is contained in:
parent
172957d243
commit
0f0584e2ed
@ -30,7 +30,9 @@
|
||||
|
||||
<h3 id="demo-trigger" lay-toc="{level: 2}">自定义事件</h3>
|
||||
|
||||
<pre class="layui-code" lay-options="{preview: true, layout: ['preview', 'code'], codeStyle: 'max-height: 520px;', tools: ['full']}">
|
||||
<pre class="layui-code" lay-options="{preview: true, layout: ['preview', 'code'], codeStyle: 'max-height: 520px;', tools: ['full'], done: function(obj){
|
||||
obj.render();
|
||||
}}">
|
||||
<textarea>
|
||||
{{- d.include("/tabs/examples/trigger.md") }}
|
||||
</textarea>
|
||||
|
Loading…
Reference in New Issue
Block a user