This commit is contained in:
2025-04-29 19:43:06 +08:00
parent dfb552b7ed
commit ff17e84aed
26 changed files with 530 additions and 260 deletions

View File

@@ -7,3 +7,9 @@ export const toPath = (path) => {
export const VITE_TINYMCE_KEY = () => {
return import.meta.env.VITE_TINYMCE_KEY;
}
export const deleteObjectFields = (obj) => {
Object.keys(obj).forEach(key => {
delete obj[key];
});
}