From c1844ae65c6ac4704d8a59e18510ed5c676de697 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 09 七月 2021 18:39:53 +0800 Subject: [PATCH] 2021-07-09 --- src/utils/utils.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/utils.js b/src/utils/utils.js index 6804c9e..09de0d1 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -840,7 +840,7 @@ val = val.toString() } - val = val.replace(/(^\s*$)|\t*|\v*/ig, '') + val = val.replace(/(^\s*$)|\t*|\v*|'*/ig, '') if (!val && col.required === 'true') { // 蹇呭~鏍¢獙 errors.push(_position + dict['main.excel.content.emptyerror']) -- Gitblit v1.8.0