Version
Vben Admin V5
Describe the bug?
在Vben Modal 模态框,表单 Input, 如果fieldName: 'nodeName'。会导致,modal 的center,draggable 属性不生效,modal 里面的select 下拉UI 显示错误。如果input 的 fieldName 不设置为 nodeName, 就一切显示正常。UI 组件是element-plus
代码:

异常显示
<img width="2494" height="1159" alt="Image" src="https://github.com/user-attachments/assets/2c76acba-aed3-4274-8e4b-4508990754bd" /
正常显示
Reproduction
{
component: 'Input',
componentProps: {
placeholder: '请输入节点名称',
maxlength: 50,
},
fieldName: 'nodeName-1',
label: '节点名称',
rules: z
.string()
.min(2, '节点名称长度为2-50个字符')
.max(50, '节点名称长度为2-50个字符'),
},
System Info
Relevant log output
Validations
Version
Vben Admin V5
Describe the bug?
在Vben Modal 模态框,表单 Input, 如果fieldName: 'nodeName'。会导致,modal 的center,draggable 属性不生效,modal 里面的select 下拉UI 显示错误。如果input 的 fieldName 不设置为 nodeName, 就一切显示正常。UI 组件是element-plus

代码:
异常显示
<img width="2494" height="1159" alt="Image" src="https://github.com/user-attachments/assets/2c76acba-aed3-4274-8e4b-4508990754bd" /
正常显示
Reproduction
{
component: 'Input',
componentProps: {
placeholder: '请输入节点名称',
maxlength: 50,
},
fieldName: 'nodeName-1',
label: '节点名称',
rules: z
.string()
.min(2, '节点名称长度为2-50个字符')
.max(50, '节点名称长度为2-50个字符'),
},
System Info
Relevant log output
Validations