Match-id-71b6384a6cb67e909c9c996382413fe86a027a06

This commit is contained in:
* 2022-11-14 18:07:24 +08:00
parent 6d25551899
commit c0b8a5d03a
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export const hookObserverMap = new WeakMap();
export function createProxy(rawObj: any, isHookObserver = true): any {
// 不是对象(是原始数据类型)不用代理
if (!isObject(rawObj)) {
if (!(rawObj && isObject(rawObj))) {
return rawObj;
}