From 684f0ad7cc89be943866361231ccea38928baac1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 8 May 2024 18:11:59 +0800 Subject: [PATCH] bugfix --- bricks/datarow.js | 6 ++---- bricks/tabular.js | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/bricks/datarow.js b/bricks/datarow.js index 4fa8dde..a1aac15 100644 --- a/bricks/datarow.js +++ b/bricks/datarow.js @@ -8,15 +8,13 @@ bricks.DataRow = class extends bricks.HBox { fields:[] css browserfields{ - exclouded + exclouded:[], cwidth:{ field:10, field2:11 } } - edit:{ - exclouded:[], - } + editexclouded:[], header_css } */ diff --git a/bricks/tabular.js b/bricks/tabular.js index f9165cb..999d961 100644 --- a/bricks/tabular.js +++ b/bricks/tabular.js @@ -9,8 +9,8 @@ bricks.Tabular = class extends bricks.DynamicAccordion { var fs = this.record_view.options.fields; this.fields = []; var exclouded = []; - if (this.record_view.options.editexcloded){ - exclouded = this.record_view.options.eiditexclouded; + if (this.record_view.options.editexclouded){ + exclouded = this.record_view.options.editexclouded; } fs.forEach(f => { if (!exclouded.includes(f.name)){