修改模板.

This commit is contained in:
lijiahang
2023-10-04 15:47:38 +08:00
parent 0514ea0508
commit 27c24a6f5a
15 changed files with 231 additions and 103 deletions

View File

@@ -156,6 +156,15 @@ export function replaceNumber(value: string) {
return value;
}
/**
* 重设对象
*/
export const resetObject = (obj: any) => {
Object.keys(obj).forEach(k => {
obj[k] = undefined;
});
};
/**
* 获取当前页面的缩放值
*/