style: 样式处理

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

No files matched your search

-1
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[]) => {