@@ -42,6 +42,7 @@ async save() {
this.userData[key] = Number(this.userData[key]); // 确保年龄为数字
}
});
+
// 删除不需要的字段
delete this.userData.createdAt; // 删除 createdAt 字段