feat: 优化数据中枢 Excel 连接创建交互
- 在新增连接中完成 Excel 上传并自动填写连接名称 - 限制上传格式并提供空表和无表头错误反馈 - 移除旧导入入口和无效测试连接操作
This commit is contained in:
@@ -15,6 +15,7 @@ interface Props {
|
||||
centered?: boolean;
|
||||
closable?: boolean;
|
||||
closeOnClickModal?: boolean;
|
||||
confirmDisabled?: boolean;
|
||||
confirmLoading?: boolean;
|
||||
confirmText?: string;
|
||||
description?: string;
|
||||
@@ -40,6 +41,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
centered: false,
|
||||
closable: true,
|
||||
closeOnClickModal: false,
|
||||
confirmDisabled: false,
|
||||
confirmLoading: false,
|
||||
confirmText: '',
|
||||
description: '',
|
||||
@@ -124,6 +126,7 @@ function handleConfirm() {
|
||||
:centered="centered"
|
||||
:closable="closable"
|
||||
:close-on-click-modal="closeOnClickModal"
|
||||
:confirm-disabled="confirmDisabled || submitting"
|
||||
:confirm-loading="confirmLoading"
|
||||
content-class="p-0"
|
||||
:description="description"
|
||||
@@ -164,7 +167,7 @@ function handleConfirm() {
|
||||
</EasyFlowButton>
|
||||
<EasyFlowButton
|
||||
v-if="showConfirmButton"
|
||||
:disabled="submitting"
|
||||
:disabled="confirmDisabled || submitting"
|
||||
:loading="confirmLoading || submitting"
|
||||
@click="handleConfirm"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user