Skip to content

Commit

Permalink
移除title属性
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave-12138 committed Sep 7, 2024
1 parent 979473b commit b7f2f1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miyoushe-emot-to-github",
"version": "0.3.1",
"version": "0.3.2",
"type": "module",
"description": "在github使用米游社表情包",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ const tabData = computed(() => emotList.value
<div class="miyoushe-emots">
<div class="emot-tabs">
<Lazy v-for="t in tabs" :class="{ selected: currentTab === t.group }" :key="t.group" :src="t.src"
:title="t.name" @click="currentTab = t.group">
@click="currentTab = t.group">
<div v-if="currentTab === t.group">{{ t.name }}</div>
</Lazy>
</div>
<div class="emot-icons">
<div>
<Lazy v-for="em in tabData[currentTab]" :src="em.src" :title="em.name" @click="onInputEmot(em.src, em.name)">
<Lazy v-for="em in tabData[currentTab]" :key="em.name" :src="em.src" @click="onInputEmot(em.src, em.name)">
<div>{{ em.name }}</div>
</Lazy>
</div>
Expand Down

0 comments on commit b7f2f1c

Please sign in to comment.