mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +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";
|
||||
|
||||
@@ -723,7 +723,7 @@ defineExpose({
|
||||
<el-table-column
|
||||
prop="length"
|
||||
:label="t('datasource.length')"
|
||||
v-if="param.editType === 0"
|
||||
v-if="param.editType === 0 && isSupportSetKey"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-input-number
|
||||
|
||||
Reference in New Issue
Block a user