This commit is contained in:
dap
2024-09-19 19:09:35 +08:00
3 changed files with 46 additions and 8 deletions

View File

@@ -264,7 +264,8 @@ function createComponentProps(slotProps: Record<string, any>) {
<component
:is="fieldComponent"
:class="{
'border-destructive focus:border-destructive': isInValid,
'border-destructive focus:border-destructive hover:border-destructive/80':
isInValid,
}"
v-bind="createComponentProps(slotProps)"
:disabled="shouldDisabled"

View File

@@ -23,7 +23,7 @@
"@vben-core/shared": "workspace:*",
"@vben-core/typings": "workspace:*",
"pinia": "2.2.2",
"pinia-plugin-persistedstate": "^4.0.1",
"pinia-plugin-persistedstate": "^4.0.2",
"vue": "^3.5.6",
"vue-router": "^4.4.5"
}