mirror of
https://github.com/ylw00/qxVm.git
synced 2025-04-20 07:59:59 +08:00
Update vm_proxy.js
This commit is contained in:
parent
1f73a76633
commit
0aee712baa
2
qxVm_sanbox/env/TOOLS/vm_proxy.js
vendored
2
qxVm_sanbox/env/TOOLS/vm_proxy.js
vendored
@ -43,7 +43,7 @@ lwVm.proxy = function (obj, objname, type) {
|
|||||||
let result_type = get_attribute_type(result);
|
let result_type = get_attribute_type(result);
|
||||||
|
|
||||||
if (result instanceof Object) {
|
if (result instanceof Object) {
|
||||||
if (Object.getOwnPropertyDescriptor(target, propKey)?.writable === false) {
|
if (Object.getOwnPropertyDescriptor(target, propKey).writable === false) {
|
||||||
console.log(`getting propKey-> ${WatchName}.${propKey} it is non-writable`)
|
console.log(`getting propKey-> ${WatchName}.${propKey} it is non-writable`)
|
||||||
} else {
|
} else {
|
||||||
if (typeof result === "function") {
|
if (typeof result === "function") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user