refactor(CURD): ♻️ 优化和修改使用示例
This commit is contained in:
@@ -149,7 +149,7 @@ prepareFuncs.forEach((func) => func());
|
||||
|
||||
// 获取表单数据
|
||||
function getFormData(key?: string) {
|
||||
return key === undefined ? formData : formData[key] ?? undefined;
|
||||
return key === undefined ? formData : (formData[key] ?? undefined);
|
||||
}
|
||||
|
||||
// 设置表单值
|
||||
|
||||
Reference in New Issue
Block a user