diff --git a/models/ProfileArtis.js b/models/ProfileArtis.js index 134c167b..802515be 100644 --- a/models/ProfileArtis.js +++ b/models/ProfileArtis.js @@ -170,7 +170,7 @@ export default class ProfileArtis extends Base { names, imgs, abbrs: [...abbrs, ...abbrs2], - name: (abbrs.length > 1 || abbrs2[0].length > 7) ? abbrs.join('+') : abbrs2[0], + name: (abbrs.length > 1 || abbrs2[0]?.length > 7) ? abbrs.join('+') : abbrs2[0], sName: abbrs.join('+') } return this._setData diff --git a/resources/character/rank-profile-list.html b/resources/character/rank-profile-list.html index 665876ee..a8e333a8 100644 --- a/resources/character/rank-profile-list.html +++ b/resources/character/rank-profile-list.html @@ -75,7 +75,7 @@
- {{w.name.length > 4 ? (w.abbr||w.name) : w.name}} + {{w.name?.length > 4 ? (w.abbr||w.name) : w.name}}
精{{w.affix}} Lv.{{w.leve || w.level}}