From 5a50d6812608b7f6ef084e935776cdfb59d5a461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Wed, 29 Mar 2023 12:39:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20table=20=E7=9A=84=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=AF=BC=E5=87=BA=EF=BC=8C=E4=B8=8D=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E6=B0=B4=E5=B9=B3=E5=88=B6=E8=A1=A8=E7=AC=A6?= =?UTF-8?q?=EF=BC=8C=E7=94=B1=E5=A4=96=E9=83=A8=E8=87=AA=E4=B8=BB=E6=8E=A7?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/table.js b/src/modules/table.js index c196053f..a979e85c 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -2667,7 +2667,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){ // 异常处理 content = content.replace(/"/g, '""'); // 避免内容存在「双引号」导致异常分隔 - content += '\t'; // 加「水平制表符」 避免内容被转换格式 + // content += '\t'; // 加「水平制表符」 避免内容被转换格式 content = '"'+ content +'"'; // 避免内容存在「逗号」导致异常分隔 // 插入内容