style: 样式处理

This commit is contained in:
手瓜一十雪
2024-08-25 21:47:55 +08:00
parent 7b7609a068
commit b176fa66d4
2 changed files with 5 additions and 9 deletions

View File

@@ -3,7 +3,6 @@ import { LogWrapper } from './log';
export function proxyHandlerOf(logger: LogWrapper) {
return {
get(target: any, prop: any, receiver: any) {
// console.log('get', prop, typeof target[prop]);
if (typeof target[prop] === 'undefined') {
// 如果方法不存在返回一个函数这个函数调用existentMethod
return (..._args: unknown[]) => {