From ff37f1e0d4bfecd0449bd117f4c44dce99417817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Sat, 14 Oct 2023 16:25:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20table=20=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/table-test.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/table-test.html b/examples/table-test.html index a0f69a0c..e38798db 100644 --- a/examples/table-test.html +++ b/examples/table-test.html @@ -161,7 +161,7 @@ layui.use(['table', 'dropdown'], function(){ {type: 'checkbox', fixed: 'left'}, // {type: 'numbers', fixed: 'left'}, {field:'id', title:'ID', width:80, fixed: 'left', unresize: true, sort: true, totalRowText: '合计:'}, - {field:'username', expandedStyle: 'tips', title:'用户名 ', width:120, edit: function(d){ + {field:'username', ignoreExport: false, expandedStyle: 'tips', title:'用户名 ', width:120, edit: function(d){ return !d.LAY_DISABLED; }, templet: '#usernameTpl'}, {field:'xxx', title:'测试', edit: 'text'},