style: update prettier format rules

This commit is contained in:
张传龙
2022-07-03 14:52:49 +08:00
parent f97beeb54b
commit 7f97dd2f5a
10 changed files with 13 additions and 24 deletions

View File

@@ -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>

View File

@@ -6,8 +6,7 @@
:y="y"
placement="bottom-start"
@clickoutside="handleHideDropdown"
@select="handleSelect"
/>
@select="handleSelect" />
</template>
<script setup>

View File

@@ -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">

View File

@@ -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>