fix: Adjust the tab layout and fix some bugs

This commit is contained in:
yv1ing
2024-12-19 09:38:00 +08:00
parent 7f5797f3bb
commit bcf34cef0a
7 changed files with 24 additions and 19 deletions

View File

@@ -1,11 +1,13 @@
const tagWordCloudCanvas = document.getElementById('tag-word-cloud-canvas');
let wordList = JSON.parse(tagList);
const options = {
list: JSON.parse(tagList),
list: wordList,
weightFactor: 20,
backgroundColor: 'transparent',
click: (item) => {
console.log(item[0], item[1]);
window.location.href = "/tag/" + item[2];
}
};