Update vm_proxy.js

This commit is contained in:
开始 2023-08-01 15:21:07 +08:00 committed by GitHub
parent 0aee712baa
commit ac6796afea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ lwVm.proxy = function (obj, objname, type) {
if (typeof (propKey) !== "symbol" && propKey !== "toString") {
try {
if (lwVm.config.logOpen === true) {
console.log(`\ngetting propKey-> ${WatchName}.${propKey?.description ?? propKey} result-> ${result} typeof-> ${result_type}`);
console.log(`\ngetting propKey-> ${WatchName}.${propKey.description ?? propKey} result-> ${result} typeof-> ${result_type}`);
}
} catch (e) {
console.log(`[${WatchName}] getting error`);