修改模板.
This commit is contained in:
@@ -156,6 +156,15 @@ export function replaceNumber(value: string) {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* 重设对象
|
||||
*/
|
||||
export const resetObject = (obj: any) => {
|
||||
Object.keys(obj).forEach(k => {
|
||||
obj[k] = undefined;
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取当前页面的缩放值
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user