refactor:优化 notify 站内信的实现

This commit is contained in:
YunaiV
2025-04-04 18:02:02 +08:00
parent a59c3bed8a
commit 9f352291d7
15 changed files with 106 additions and 150 deletions

View File

@@ -78,7 +78,7 @@ const [Modal, modalApi] = useVbenModal({
/** 动态构建表单 schema */
const buildFormSchema = () => {
const schema = useSendMailFormSchema();
if (formData.value?.params?.length > 0) {
if (formData.value?.params) {
formData.value.params?.forEach((param: string) => {
schema.push({
fieldName: `param_${param}`,