feat: 移除消息组件的简单变体并添加样式调整
This commit is contained in:
@ -2,7 +2,6 @@
|
|||||||
<Message
|
<Message
|
||||||
severity="error"
|
severity="error"
|
||||||
size="small"
|
size="small"
|
||||||
variant="simple"
|
|
||||||
>
|
>
|
||||||
<!-- <template #container> -->
|
<!-- <template #container> -->
|
||||||
<ul class="my-0 flex flex-col gap-1">
|
<ul class="my-0 flex flex-col gap-1">
|
||||||
@ -24,3 +23,9 @@ import { type FormKitFrameworkContext } from '@formkit/core';
|
|||||||
import Message from 'primevue/message';
|
import Message from 'primevue/message';
|
||||||
defineProps<{ context: FormKitFrameworkContext }>();
|
defineProps<{ context: FormKitFrameworkContext }>();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.p-floatlabel + .p-message {
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Reference in New Issue
Block a user