Skip to content

Commit

Permalink
feat: 同步 layui v2.8.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Sight-wcg committed Nov 1, 2023
1 parent 8cedd9e commit 5323ad8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const VERSION = '2.8.18-rc.2';
const VERSION = '2.8.18';
const layuicss = `https://unpkg.com/layui@${VERSION}/dist/css/layui.css`;
const layuijs = `https://unpkg.com/layui@${VERSION}/dist/layui.js`;
// const layuicss=`https://cdn.jsdelivr.net/gh/layui/layui@${VERSION}/dist/css/layui.css`;
Expand Down
4 changes: 2 additions & 2 deletions docs/view/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
body{padding: 32px;}
pre{margin: 16px 0;}
</style>
<pre id="test" class="layui-test">
<pre id="code-test" class="layui-test">
<textarea class="layui-hide">
<div class="layui-btn-container">
<button type="button" class="layui-btn">默认按钮</button>
Expand Down Expand Up @@ -162,7 +162,7 @@ <h3>{{= d.title }}</h3>
});

var codeInst = layui.code({
elem: '#test',
elem: '#code-test',
preview: true,
codeStyle: 'height: 510px;',
previewStyle: 'word-wrap: break-word;',
Expand Down

0 comments on commit 5323ad8

Please sign in to comment.