mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-28 10:16:27 +00:00
19 lines
437 B
JavaScript
19 lines
437 B
JavaScript
import { Common } from '#miao'
|
|
|
|
const CharMaterial = {
|
|
async render ({ e, char }) {
|
|
let data = char.getData()
|
|
return await Common.render('wiki/character-material', {
|
|
// saveId: `info-${char.id}`,
|
|
data,
|
|
attr: char.getAttrList(),
|
|
detail: char.getDetail(),
|
|
imgs: char.getImgs(),
|
|
materials: char.getMaterials(),
|
|
elem: char.elem
|
|
}, { e, scale: 1.4 })
|
|
}
|
|
}
|
|
|
|
export default CharMaterial
|