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