mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 02:58:10 +08:00
fix: 桌面版导入excel,不展示设置字段长度
This commit is contained in:
@@ -345,10 +345,6 @@ public class ExcelUtils {
|
||||
if (StringUtils.isEmpty(value) || value.length() > 19) {
|
||||
return "TEXT";
|
||||
}
|
||||
String numberFormatRegex = "^[1-9]\\d*$";
|
||||
if (!value.matches(numberFormatRegex)) {
|
||||
return "TEXT";
|
||||
}
|
||||
String regex = "^-?\\d+(\\.\\d+)?$";
|
||||
if (!value.matches(regex)) {
|
||||
return "TEXT";
|
||||
|
||||
Reference in New Issue
Block a user