adjustment

This commit is contained in:
2024-01-19 15:47:42 +08:00
parent feec8b59a7
commit 3d9c5bd3f2
9 changed files with 63 additions and 54 deletions

View File

@ -9,4 +9,8 @@ export function validation(element, regex) {
})
}
return element;
}
export function convertCssStyle(style) {
return Object.entries(style).map(s => `${s[0]}: ${s[1]}`).join('; ');
}