From 80d67e157d010f8e59c472b2e6046c04efe9b966 Mon Sep 17 00:00:00 2001 From: renxxing <74659302+renxxing@users.noreply.github.com> Date: Wed, 16 Dec 2020 15:11:06 +0800 Subject: [PATCH] fix(fix #290): userinfo userinfo --- src/controllers/constant.js | 5 ++--- src/index.html | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/controllers/constant.js b/src/controllers/constant.js index 16defca..dfcabc9 100644 --- a/src/controllers/constant.js +++ b/src/controllers/constant.js @@ -22,9 +22,8 @@ const gridHTML = function(){
${locale_info.detailUpdate}
${locale_info.wait}
\${functionButton} - ${userInfo.str} - - ${userInfo.username} + + ${userInfo.str.length > 0 ? userInfo.str : userInfo.username}
\${menu}
diff --git a/src/index.html b/src/index.html index fa83524..cb23c88 100644 --- a/src/index.html +++ b/src/index.html @@ -79,7 +79,9 @@ forceCalculation:false, userInfo: { isShow:true, - str:' rabbit' + str:' rabbit', + url:'https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1490464830,1853038030&fm=26&gp=0.jpg', + username:'lucky' }, plugins: ['chart'], fontList:[