fix lifeProperty

This commit is contained in:
Vick Scarlet
2021-09-11 12:46:39 +08:00
parent 77f483bd18
commit 65be1b4f40
2 changed files with 9 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@@ -389,9 +389,7 @@ class App{
trajectoryPage.find('#auto').hide(); trajectoryPage.find('#auto').hide();
trajectoryPage.find('#auto2x').hide(); trajectoryPage.find('#auto2x').hide();
// trajectoryPage.find('#domToImage').show(); // trajectoryPage.find('#domToImage').show();
} else { }
// 如未死亡,更新数值
// Update properties if not die yet
const property = this.#life.getLastRecord(); const property = this.#life.getLastRecord();
$("#lifeProperty").html(` $("#lifeProperty").html(`
<li><span>颜值</span><span>${property.CHR}</span></li> <li><span>颜值</span><span>${property.CHR}</span></li>
@@ -400,7 +398,6 @@ class App{
<li><span>家境</span><span>${property.MNY}</span></li> <li><span>家境</span><span>${property.MNY}</span></li>
<li><span>快乐</span><span>${property.SPR}</span></li> <li><span>快乐</span><span>${property.SPR}</span></li>
`); `);
}
}); });
// html2canvas // html2canvas
trajectoryPage trajectoryPage