mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
修正圣遗物数据更新失败的问题 0。0
This commit is contained in:
parent
a0b51d6083
commit
42521f37d4
@ -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) {
|
||||
|
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user