This commit is contained in:
Aluxes 2024-06-03 14:14:16 +08:00
parent 94e01e7774
commit de0c46bc89
No known key found for this signature in database
GPG Key ID: 6696152F9C003087
2 changed files with 3 additions and 3 deletions

View File

@ -71,8 +71,8 @@ let Cal = {
if (timeRet && timeRet[1]) { if (timeRet && timeRet[1]) {
annTime = timeRet[1].split('~') annTime = timeRet[1].split('~')
} }
if (/\d\.\d版本更新后/.test(content)) { if (/\d\.\d版本更新(?:完成)?后/.test(content)) {
let vRet = /(\d\.\d)版本更新后/.exec(content) let vRet = /(\d\.\d)版本更新(?:完成)?后/.exec(content)
let vTime = '' let vTime = ''
if (vRet && vRet[1] && versionTime[vRet[1]]) { if (vRet && vRet[1] && versionTime[vRet[1]]) {
vTime = versionTime[vRet[1]] vTime = versionTime[vRet[1]]

View File

@ -30,7 +30,7 @@
<div class="card"> <div class="card">
<div class="item-icon star{{char.star}}"> <div class="item-icon star{{char.star}}">
<div class="img" style="background-image:url({{_res_path}}{{char.face}})"></div> <div class="img" style="background-image:url({{_res_path}}{{char.face}})"></div>
<span class="char-name">{{char.name.length>=4?char.name:`${char.name}生日`}}</span> <span class="char-name">{{char.name?.length>=4?char.name:`${char.name}生日`}}</span>
</div> </div>
</div> </div>
{{/each}} {{/each}}