浏览代码

chore: remove console.log

alvarosabu 1 年之前
父节点
当前提交
b0ba190f33
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/core/nodeOps.ts

+ 0 - 1
src/core/nodeOps.ts

@@ -193,7 +193,6 @@ export const nodeOps: RendererOptions<TresObject, TresObject | null> = {
       let root = node
       let key = prop
       if (key === 'object' && prevValue !== null) {
-        console.log('patchProp', { prop, prevValue, nextValue, node })
         // If the prop 'object' is changed, we need to re-instance the object and swap the old one with the new one
         const newInstance = nodeOps.createElement('primitive', undefined, undefined, { 
           object: nextValue,