diff --git a/packages/hippy-vue-next/src/runtime/render/index.ts b/packages/hippy-vue-next/src/runtime/render/index.ts index 38055bf2ee4..25c0f53cbb1 100644 --- a/packages/hippy-vue-next/src/runtime/render/index.ts +++ b/packages/hippy-vue-next/src/runtime/render/index.ts @@ -121,11 +121,11 @@ function renderToNative( chunks.forEach((chunk) => { switch (chunk.type) { case NodeOperateType.CREATE: - trace(...componentName, 'createNode', Date.now(), chunk.nodes); + trace(...componentName, 'createNode', chunk.nodes); Native.hippyNativeDocument.createNode(rootViewId, chunk.nodes); break; case NodeOperateType.UPDATE: - trace(...componentName, 'updateNode', Date.now(), chunk.nodes); + trace(...componentName, 'updateNode', chunk.nodes); // iOS currently cannot update nodes in batches, this requires ios client repair if (Native.isIOS()) { chunk.nodes.forEach((node) => { @@ -136,7 +136,7 @@ function renderToNative( } break; case NodeOperateType.DELETE: - trace(...componentName, 'deleteNode', Date.now(), chunk.nodes); + trace(...componentName, 'deleteNode', chunk.nodes); // iOS currently cannot delete nodes in batches, this requires ios client repair if (Native.isIOS()) { chunk.nodes.forEach((node) => { diff --git a/packages/hippy-vue-next/src/util/index.ts b/packages/hippy-vue-next/src/util/index.ts index c623e210f94..73ce30797e7 100644 --- a/packages/hippy-vue-next/src/util/index.ts +++ b/packages/hippy-vue-next/src/util/index.ts @@ -56,7 +56,6 @@ export function trace(...context: NeedToTyped[]): void { if (IS_PROD || isSilent) { return; } - console.log(...context); }