style: update prettier format rules
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
:collapsed-width="64"
|
||||
:options="menuOptions"
|
||||
:value="(currentRoute.meta && currentRoute.meta.activeMenu) || currentRoute.name"
|
||||
@update:value="handleMenuSelect"
|
||||
/>
|
||||
@update:value="handleMenuSelect" />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
:y="y"
|
||||
placement="bottom-start"
|
||||
@clickoutside="handleHideDropdown"
|
||||
@select="handleSelect"
|
||||
/>
|
||||
@select="handleSelect" />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
:closable="tagsStore.tags.length > 1"
|
||||
@click="handleTagClick(tag.path)"
|
||||
@close.stop="tagsStore.removeTag(tag.path)"
|
||||
@contextmenu.prevent="handleContextMenu($event, tag)"
|
||||
>
|
||||
@contextmenu.prevent="handleContextMenu($event, tag)">
|
||||
{{ tag.title }}
|
||||
</n-tag>
|
||||
</ScrollX>
|
||||
@@ -17,8 +16,7 @@
|
||||
v-model:show="contextMenuOption.show"
|
||||
:current-path="contextMenuOption.currentPath"
|
||||
:x="contextMenuOption.x"
|
||||
:y="contextMenuOption.y"
|
||||
/>
|
||||
:y="contextMenuOption.y" />
|
||||
</template>
|
||||
|
||||
<script setup name="Tags">
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
:collapsed-width="64"
|
||||
:width="220"
|
||||
:native-scrollbar="false"
|
||||
:collapsed="appStore.collapsed"
|
||||
>
|
||||
:collapsed="appStore.collapsed">
|
||||
<SideBar />
|
||||
</n-layout-sider>
|
||||
<n-layout>
|
||||
@@ -22,8 +21,7 @@
|
||||
:style="{
|
||||
height: `calc(100% - ${useTheme.tags.visible ? useTheme.tags.height : 0}px)`,
|
||||
overflow: 'auto',
|
||||
}"
|
||||
/>
|
||||
}" />
|
||||
</n-layout>
|
||||
</n-layout>
|
||||
</n-layout>
|
||||
|
||||
Reference in New Issue
Block a user