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:[