diff --git a/apps/wiki/Calendar.js b/apps/wiki/Calendar.js index ed223a54..50f0aa98 100644 --- a/apps/wiki/Calendar.js +++ b/apps/wiki/Calendar.js @@ -71,8 +71,8 @@ let Cal = { if (timeRet && timeRet[1]) { annTime = timeRet[1].split('~') } - if (/\d\.\d版本更新后/.test(content)) { - let vRet = /(\d\.\d)版本更新后/.exec(content) + if (/\d\.\d版本更新(?:完成)?后/.test(content)) { + let vRet = /(\d\.\d)版本更新(?:完成)?后/.exec(content) let vTime = '' if (vRet && vRet[1] && versionTime[vRet[1]]) { vTime = versionTime[vRet[1]] diff --git a/resources/wiki/calendar.html b/resources/wiki/calendar.html index 9330a19f..1e22e569 100644 --- a/resources/wiki/calendar.html +++ b/resources/wiki/calendar.html @@ -30,7 +30,7 @@
- {{char.name.length>=4?char.name:`${char.name}生日`}} + {{char.name?.length>=4?char.name:`${char.name}生日`}}
{{/each}}