릴리스: v1.4.21 프런트 topic 응답 소비 정리
This commit is contained in:
@@ -898,9 +898,9 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
try {
|
||||
const gameRes = await api.getTopic(templateId.value)
|
||||
templateName.value = gameRes.game?.name || templateId.value
|
||||
const base = (gameRes.items || []).map((img) => ({
|
||||
const topicRes = await api.getTopic(templateId.value)
|
||||
templateName.value = topicRes.topic?.name || topicRes.game?.name || templateId.value
|
||||
const base = (topicRes.items || []).map((img) => ({
|
||||
id: img.id,
|
||||
src: img.src,
|
||||
label: img.label,
|
||||
|
||||
Reference in New Issue
Block a user