first commit

This commit is contained in:
xiaomai
2025-09-15 00:28:27 +08:00
commit ae8d3ce510
28 changed files with 2882 additions and 0 deletions

11
20250916/ppt/js/utils.js Normal file
View File

@@ -0,0 +1,11 @@
/** 简单工具 */
export function el(selector, root = document) {
return root.querySelector(selector);
}
export function els(selector, root = document) {
return Array.from(root.querySelectorAll(selector));
}
export function safeAssign(target, src) {
return Object.assign({}, target, src);
}