feat:【antd】【ele】统一 infra 和 system 的代码风格
This commit is contained in:
@@ -42,8 +42,8 @@ export function useImportTableFormSchema(): VbenFormSchema[] {
|
||||
label: '表名称',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入表名称',
|
||||
clearable: true,
|
||||
placeholder: '请输入表名称',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -51,8 +51,8 @@ export function useImportTableFormSchema(): VbenFormSchema[] {
|
||||
label: '表描述',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入表描述',
|
||||
clearable: true,
|
||||
placeholder: '请输入表描述',
|
||||
},
|
||||
},
|
||||
];
|
||||
@@ -366,8 +366,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
label: '表名称',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入表名称',
|
||||
clearable: true,
|
||||
placeholder: '请输入表名称',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -375,8 +375,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
label: '表描述',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入表描述',
|
||||
clearable: true,
|
||||
placeholder: '请输入表描述',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -151,8 +151,13 @@ getDetail();
|
||||
</div>
|
||||
|
||||
<div class="mt-4 flex justify-end space-x-2">
|
||||
<ElButton v-show="currentStep > 0" @click="prevStep">上一步</ElButton>
|
||||
<ElButton v-show="currentStep < steps.length - 1" @click="nextStep">
|
||||
<ElButton :disabled="currentStep === 0" @click="prevStep">
|
||||
上一步
|
||||
</ElButton>
|
||||
<ElButton
|
||||
:disabled="currentStep === steps.length - 1"
|
||||
@click="nextStep"
|
||||
>
|
||||
下一步
|
||||
</ElButton>
|
||||
<ElButton type="primary" :loading="loading" @click="submitForm">
|
||||
|
||||
@@ -176,6 +176,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
});
|
||||
|
||||
/** 获取数据源配置列表 */
|
||||
// TODO @芋艿:这种场景的最佳实践;
|
||||
async function initDataSourceConfig() {
|
||||
try {
|
||||
dataSourceConfigList.value = await getDataSourceConfigList();
|
||||
|
||||
Reference in New Issue
Block a user