mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2025-02-02 00:15:41 +00:00
角色面板bug fix
This commit is contained in:
parent
d570e7f1aa
commit
faf3164faf
@ -70,11 +70,11 @@ export default class ProfileArtis extends Base {
|
||||
}
|
||||
|
||||
get sets () {
|
||||
return this.getSetData().sets
|
||||
return this.getSetData().sets || {}
|
||||
}
|
||||
|
||||
get names () {
|
||||
return this.getSetData().names
|
||||
return this.getSetData().names || []
|
||||
}
|
||||
|
||||
mainAttr (idx = '') {
|
||||
|
@ -30,9 +30,9 @@
|
||||
<span class="cons cons-{{weapon.affix}}">{{weapon.affix}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item avatar-artis artis{{avatar.names.length}}">
|
||||
<div class="item avatar-artis artis{{avatar?.names?.length}}">
|
||||
<div class="artis item-icon">
|
||||
{{each avatar.names name}}
|
||||
{{each avatar?.names name}}
|
||||
<span class="img"
|
||||
style="background-image:url({{_res_path}}/meta/reliquaries/icon/{{name}}.png)"></span>
|
||||
{{/each}}
|
||||
|
Loading…
Reference in New Issue
Block a user