未生效修复
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// 生成标签地图
|
||||
// 为标签添加颜色样式
|
||||
function colorize_tag($tag) {
|
||||
$color_theme=Array("default","primary","success","info","warning","danger");;
|
||||
$color_theme=["default","primary","success","info","warning","danger"];
|
||||
$hash_num = hexdec(substr(md5($tag), 0, 7));
|
||||
$label_theme = $color_theme[$hash_num % count($color_theme)];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user