Skip to content

Commit

Permalink
fix: remove excess line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Yuan committed Feb 26, 2024
1 parent 77a37cc commit 68088f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libs/translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -471,7 +470,6 @@ export class Translator {
}
}
}
console.log("q2", q);

// 太长或太短
if (this._invalidLength(q.replace(/\[(\d+)\]/g, "").trim())) {
Expand Down

0 comments on commit 68088f5

Please sign in to comment.