mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
fix: Adjust the tab layout and fix some bugs
This commit is contained in:
@@ -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];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user