Commit ea9f7a31 authored by 罗林杰's avatar 罗林杰

修改数据源

parent ca0ed871
<template> <template>
<!-- 数据源-连接-新增或修改 抽屉 --> <!-- 数据源-连接-新增或修改 抽屉 -->
<BasicModal <BasicModal v-bind="$attrs" @register="registerModal" showFooter :title="getTitle" width="40%">
v-bind="$attrs"
@register="registerModal"
showFooter
:title="getTitle"
width="40%"
@ok="handleSubmit"
>
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
<template #footer>
<a-button type="primary" @click="handleReload">测试连接</a-button>
<a-button type="primary" @click="handleSubmit">确定</a-button>
</template>
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
...@@ -103,4 +100,8 @@ ...@@ -103,4 +100,8 @@
setModalProps({ confirmLoading: false }); setModalProps({ confirmLoading: false });
} }
} }
/** 刷新 按钮 */
function handleReload() {
createMessage.success('连接成功!');
}
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment