作者卡片问好

This commit is contained in:
1152958806@qq.com 2023-07-28 17:59:24 +08:00
parent 72150c5c9c
commit 5ab2e8a298
1 changed files with 9 additions and 2 deletions

View File

@ -192,9 +192,16 @@ var heo = {
//作者卡片问好 //作者卡片问好
sayhi: function () { sayhi: function () {
if (document.querySelector('#author-info__sayhi')) { if (GLOBAL_CONFIG.profileStyle == 'default') {
document.getElementById("author-info__sayhi").innerHTML = getTimeState() + "!我是"; if (document.querySelector('#author-info__sayhi')) {
document.getElementById("author-info__sayhi").innerHTML = getTimeState() + "!我是";
}
}else{
if (document.querySelector('#author-info__sayhi')) {
document.getElementById("author-info__sayhi").innerHTML = getTimeState();
}
} }
}, },
// 添加标签 // 添加标签