From 03d53713eaa6800afd87a3cad7808b405c4737ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 24 Aug 2023 10:17:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20code=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/code.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/code.html b/examples/code.html index b3b30490..d4e40e65 100644 --- a/examples/code.html +++ b/examples/code.html @@ -116,6 +116,8 @@ layui.use('code', function(){ // 通用实例,根据元素属性定制化参数 layui.code({ //about: 'code' // 右上角默认显示 code + tools: ['tips'], + preview: true }); // custom more about