From 68088f5e1706d2f5f02fb3b188146c51c20f0ae0 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Mon, 26 Feb 2024 16:35:29 +0800 Subject: [PATCH] fix: remove excess line breaks --- src/libs/translator.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libs/translator.js b/src/libs/translator.js index e6de9f92..ec23ad4d 100644 --- a/src/libs/translator.js +++ b/src/libs/translator.js @@ -439,7 +439,6 @@ export class Translator { let q = el.innerText.trim(); this._tranNodes.set(el, q); const keeps = []; - console.log("q", q); // 保留元素 const [matchSelector, subSelector] = this._keepSelector; @@ -471,7 +470,6 @@ export class Translator { } } } - console.log("q2", q); // 太长或太短 if (this._invalidLength(q.replace(/\[(\d+)\]/g, "").trim())) {