Skip to content

Commit

Permalink
perf: remove log code
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Feb 27, 2025
1 parent 7d8e511 commit f9cf2c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/oeyoews/vue-random-cards/tiddlers/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ const app = (
return null;
}
const index = Math.floor(Math.random() * tiddlers.length);
console.info('pre', index, tiddlers);
const title = tiddlers.splice(index, 1)[0]; // 直接删除并获取 title
if (!$tw.wiki.tiddlerExists(title)) {
return this.randomTiddlerTitle();
Expand Down

0 comments on commit f9cf2c2

Please sign in to comment.