mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-17 09:33:55 +08:00
bug fix
This commit is contained in:
File diff suppressed because one or more lines are too long
14
src/app.js
14
src/app.js
@@ -164,9 +164,10 @@ class App{
|
|||||||
propertyPage.mounted = ()=>{
|
propertyPage.mounted = ()=>{
|
||||||
propertyPage
|
propertyPage
|
||||||
.find('#talentSelectedView').append(
|
.find('#talentSelectedView').append(
|
||||||
$(Array.from(this.#talentSelected)
|
`<li>已选天赋</li>` +
|
||||||
|
Array.from(this.#talentSelected)
|
||||||
.map(({name,description})=>`<li class="grade0b">${name}(${description})</li>`)
|
.map(({name,description})=>`<li class="grade0b">${name}(${description})</li>`)
|
||||||
.join(''))
|
.join('')
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
const groups = {};
|
const groups = {};
|
||||||
@@ -321,9 +322,9 @@ class App{
|
|||||||
// Update properties if not die yet
|
// Update properties if not die yet
|
||||||
const property = this.#life.getLastRecord();
|
const property = this.#life.getLastRecord();
|
||||||
$("#lifeProperty").html(`
|
$("#lifeProperty").html(`
|
||||||
<li>颜值:${property.CHR} </li>
|
<li>颜值:${property.CHR} </li>
|
||||||
<li>智力:${property.INT} </li>
|
<li>智力:${property.INT} </li>
|
||||||
<li>体质:${property.STR} </li>
|
<li>体质:${property.STR} </li>
|
||||||
<li>家境:${property.MNY} </li>
|
<li>家境:${property.MNY} </li>
|
||||||
<li>快乐:${property.SPR} </li>`);
|
<li>快乐:${property.SPR} </li>`);
|
||||||
}
|
}
|
||||||
@@ -407,6 +408,9 @@ class App{
|
|||||||
page: propertyPage,
|
page: propertyPage,
|
||||||
clear: ()=>{
|
clear: ()=>{
|
||||||
freshTotal();
|
freshTotal();
|
||||||
|
propertyPage
|
||||||
|
.find('#talentSelectedView')
|
||||||
|
.empty();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
trajectory: {
|
trajectory: {
|
||||||
|
Reference in New Issue
Block a user