Version
Vben Admin V5
Describe the bug?
自定义帮助信息提示内容不对
Reproduction
// 自定义帮助信息
const computedHelp = computed(() => {
const helpContent = help;
if (!helpContent) {
return undefined;
}
return () =>
isFunction(helpContent)
? helpContent(values.value, getFormApi())
: helpContent;
});
需要修改为:
return isFunction(helpContent)
? helpContent(values.value, getFormApi())
: helpContent;
System Info
System:
OS: macOS 26.3.1
CPU: (8) arm64 Apple M1 Pro
Memory: 64.61 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.22.2 - /usr/local/bin/node
npm: 10.9.7 - /usr/local/bin/npm
pnpm: 10.33.0 - /usr/local/bin/pnpm
Browsers:
Chrome: 146.0.7680.177
Firefox: 149.0
Safari: 26.3.1
Relevant log output
Validations
Version
Vben Admin V5
Describe the bug?
自定义帮助信息提示内容不对
Reproduction
// 自定义帮助信息
const computedHelp = computed(() => {
const helpContent = help;
if (!helpContent) {
return undefined;
}
return () =>
isFunction(helpContent)
? helpContent(values.value, getFormApi())
: helpContent;
});
需要修改为:
return isFunction(helpContent)
? helpContent(values.value, getFormApi())
: helpContent;
System Info
System: OS: macOS 26.3.1 CPU: (8) arm64 Apple M1 Pro Memory: 64.61 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.22.2 - /usr/local/bin/node npm: 10.9.7 - /usr/local/bin/npm pnpm: 10.33.0 - /usr/local/bin/pnpm Browsers: Chrome: 146.0.7680.177 Firefox: 149.0 Safari: 26.3.1Relevant log output
Validations