@@ -26,7 +26,7 @@ import { FormData } from '@/components/edit.vue'
const showAdd = ref(false)
const tabs = ref([
{
- label: 'Home', icon: 'home', size: 15
+ label: 'Home', icon: 'home', size: 14
}
] as FormData[])
const selectKey = ref(0)
@@ -11,7 +11,7 @@
<div
class="head-items-item"
:class="{ active: index === selectTab }"
- @click.stop="e=>onChange(index, 'change')"
+ @click.stop="e => onChange(index, 'change')"
>
<div>
@@ -22,7 +22,7 @@
{{ item.label }}
</div>
<Icon
- v-if="index !== 0"
+ :style="`opacity:${index === 0 ? 0 : 1} ;`"
name="close"
:size="12"
@click.stop="onChange(index, 'del')"