Match-id-71b6384a6cb67e909c9c996382413fe86a027a06
This commit is contained in:
parent
6d25551899
commit
c0b8a5d03a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue