There was an error while loading. Please reload this page.
1 parent ea41fb5 commit 1c7f4a0Copy full SHA for 1c7f4a0
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@jx3box/jx3box-map",
3
- "version": "0.3.0",
+ "version": "1.0.0",
4
"description": "JX3BOX Game Map",
5
"scripts": {
6
"serve": "vue-cli-service serve",
src/components/Map.vue
@@ -8,8 +8,8 @@
8
<div class="c-map-title">{{ mapName }}</div>
9
</slot>
10
</div>
11
- <template v-for="(i, k) in datas">
12
- <div class="c-map-point__wrapper" :style="pointStyle(i)" :key="k" :data-index="k">
+ <template v-for="(i, k) in datas" :key="k">
+ <div class="c-map-point__wrapper" :style="pointStyle(i)" :data-index="k">
13
<slot name="point" v-bind:data="i">
14
<el-popover popper-class="c-map-point__popover" placement="top" width="200" trigger="hover">
15
<slot name="popover" v-bind:data="i">
0 commit comments