mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
修正角色面板时装展示问题
This commit is contained in:
parent
5f924c3a4e
commit
ce1638b8c7
@ -69,11 +69,11 @@ export const characters = {
|
|||||||
10000066: ['神里绫人', 'Kamisato Ayato', 'Ayato', '绫人', '神里凌人', '凌人', '0人', '神人', '零人', '大舅哥'],
|
10000066: ['神里绫人', 'Kamisato Ayato', 'Ayato', '绫人', '神里凌人', '凌人', '0人', '神人', '零人', '大舅哥'],
|
||||||
|
|
||||||
// 3.0
|
// 3.0
|
||||||
10000069: ['提纳里', 'Tighnari', '提那里', '驴'],
|
10000069: ['提纳里', 'Tighnari', '提那里', '小提', '驴'],
|
||||||
10000067: ['柯莱', 'Collei', '柯来', '科莱', '科来', '小天使'],
|
10000067: ['柯莱', 'Collei', '柯来', '科莱', '科来', '小天使', '须弥安柏', '安柏', '须弥飞行冠军'],
|
||||||
10000068: ['多莉', 'Dori', '多利', '多力'],
|
10000068: ['多莉', 'Dori', '多利', '多力'],
|
||||||
10000070: ['妮露', 'nilou'],
|
10000070: ['妮露', 'nilou', '尼露', '妮璐', '舞娘', '红牛'],
|
||||||
10000071: ['赛诺', 'cyno'],
|
10000071: ['赛诺', 'cyno', '塞诺', '胡狼'],
|
||||||
10000072: ['坎蒂丝', 'candace', '坎迪斯'],
|
10000072: ['坎蒂丝', 'candace', '坎迪斯'],
|
||||||
|
|
||||||
// 以下为Miao新增自定义角色
|
// 以下为Miao新增自定义角色
|
||||||
|
@ -114,13 +114,17 @@ class Character extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取Character图像资源
|
// 获取Character图像资源
|
||||||
getImgs (costume = '', elem = '') {
|
getImgs (costume = '') {
|
||||||
let cId = this.checkCostume(costume) ? '2' : ''
|
let costumeId = this.checkCostume(costume) ? '2' : ''
|
||||||
if (this._imgs) {
|
let cacheId = `costume${costumeId}`
|
||||||
return this._imgs
|
if (!this._imgs) {
|
||||||
|
this._imgs = {}
|
||||||
}
|
}
|
||||||
this._imgs = CharImg.getImgs(this.name, cId, this.isTraveler ? this.elem : '')
|
if (this._imgs[cacheId]) {
|
||||||
return this._imgs
|
return this._imgs[cacheId]
|
||||||
|
}
|
||||||
|
this._imgs[cacheId] = CharImg.getImgs(this.name, costumeId, this.isTraveler ? this.elem : '')
|
||||||
|
return this._imgs[cacheId]
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取详情数据
|
// 获取详情数据
|
||||||
|
Loading…
Reference in New Issue
Block a user