mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-07-31 16:52:01 +08:00
Update env_maker.js
This commit is contained in:
parent
c2e9f359a1
commit
0d7e16190d
@ -408,6 +408,9 @@ function hook_obj(r,n){
|
||||
}
|
||||
}
|
||||
if (b == '__proto__' && !_isvm){ // vm2 使用时就不好处理 this.__proto__ = window.__proto__ ,需注意
|
||||
if (!a[_y]){
|
||||
a[_y] = {}
|
||||
}
|
||||
if (!a[_y]['fake__proto__']){
|
||||
a[_y]['fake__proto__'] = hook_obj(a[b],n+'.__proto__')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user