Revert tree bug with NuxtImg
This commit is contained in:
@@ -95,7 +95,7 @@ function handleRefresh() {
|
|||||||
<div style="display: flex; align-items: center;">
|
<div style="display: flex; align-items: center;">
|
||||||
|
|
||||||
<div v-if="tree.data != undefined && tree.data != null" style="width: fit-content; height: fit-content;">
|
<div v-if="tree.data != undefined && tree.data != null" style="width: fit-content; height: fit-content;">
|
||||||
<NuxtImg ref="start" class="item-img" width="64" height="64"
|
<img ref="start" class="item-img" width="64" height="64"
|
||||||
:alt="tree.data.toString()"
|
:alt="tree.data.toString()"
|
||||||
:src="CDRAGON_BASE + mapPath(itemMap.get(tree.data).iconPath)" />
|
:src="CDRAGON_BASE + mapPath(itemMap.get(tree.data).iconPath)" />
|
||||||
<h3 style="width: fit-content; margin:auto; margin-bottom: 10px;">{{ ((tree.count / parentCount!!) * 100).toFixed(0) }}%</h3>
|
<h3 style="width: fit-content; margin:auto; margin-bottom: 10px;">{{ ((tree.count / parentCount!!) * 100).toFixed(0) }}%</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user