修正圣遗物数据更新失败的问题 0。0

This commit is contained in:
yoimiya-kokomi 2022-09-09 10:40:44 +08:00
parent a0b51d6083
commit 42521f37d4
2 changed files with 25 additions and 1 deletions

View File

@ -54,6 +54,30 @@ export default class ProfileArtis extends Base {
})
}
get 1 () {
return this.artis[1]
}
get 2 () {
return this.artis[2]
}
get 3 () {
return this.artis[3]
}
get 4 () {
return this.artis[4]
}
get 5 () {
return this.artis[5]
}
get length () {
return lodash.keys(this.artis).length
}
_get (key) {
let artis = this.artis
switch (key) {

View File

@ -108,7 +108,7 @@ export default class ProfileData extends Base {
// toJSON 供保存使用
toJSON () {
return this.getData('id,name,level,cons,fetter,attr,weapon,talent,artis,dataSource,costume,elem,_time')
return this._proxy().getData('id,name,level,cons,fetter,attr,weapon,talent,artis,dataSource,costume,elem,_time')
}
get updateTime () {