feat:【antd】【ele】统一 infra 和 system 的代码风格

This commit is contained in:
YunaiV
2025-09-23 00:04:41 +08:00
parent b6d7dda0b3
commit af74cf6ad9
34 changed files with 65 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
<script setup lang="ts">
<script lang="ts" setup>
import type { SystemNotifyMessageApi } from '#/api/system/notify/message';
import { ref } from 'vue';
@@ -16,9 +16,9 @@ const [Descriptions] = useDescription({
border: true,
column: 1,
direction: 'horizontal',
labelWidth: 140,
title: '',
extra: '',
labelWidth: 140,
},
schema: useDetailSchema(),
});

View File

@@ -30,8 +30,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '发送时间',
component: 'RangePicker',
componentProps: {
clearable: true,
...getRangePickerDefaultProps(),
clearable: true,
},
},
];

View File

@@ -1,4 +1,4 @@
<script setup lang="ts">
<script lang="ts" setup>
import type { SystemNotifyMessageApi } from '#/api/system/notify/message';
import { ref } from 'vue';
@@ -16,9 +16,9 @@ const [Descriptions] = useDescription({
border: true,
column: 1,
direction: 'horizontal',
labelWidth: 140,
title: '',
extra: '',
labelWidth: 140,
},
schema: useDetailSchema(),
});