From dcd2014c8cbfde4d421757098bf5714d548f24b3 Mon Sep 17 00:00:00 2001 From: xielue Date: Sat, 16 Sep 2023 11:54:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/application/mk/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/application/mk/index.js b/src/application/mk/index.js index d4a95f9..cbc66c4 100644 --- a/src/application/mk/index.js +++ b/src/application/mk/index.js @@ -101,7 +101,12 @@ VXETable.formats.mixin({ && column.params.textField && typeof (cellValue) == "object" ) { - return cellValue[column.params.textField]; + if(cellValue){ + return cellValue[column.params.textField]; + }else{ + return ''; + } + } return cellValue && cellValue[1] ? cellValue[1] : '' },