diff --git a/prettier.config.js b/prettier.config.js index c1f27e5..30c5f18 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -3,4 +3,5 @@ module.exports = { singleQuote: true, semi: false, endOfLine: 'lf', + bracketSameLine: true, } diff --git a/src/components/common/ScrollX.vue b/src/components/common/ScrollX.vue index 4956b38..8f905ab 100644 --- a/src/components/common/ScrollX.vue +++ b/src/components/common/ScrollX.vue @@ -16,8 +16,7 @@ :style="{ height: height + 'px', transform: `translateX(${translateX}px)`, - }" - > + }"> diff --git a/src/layout/components/sidebar/components/SideMenu.vue b/src/layout/components/sidebar/components/SideMenu.vue index 4347688..21f237e 100644 --- a/src/layout/components/sidebar/components/SideMenu.vue +++ b/src/layout/components/sidebar/components/SideMenu.vue @@ -7,8 +7,7 @@ :collapsed-width="64" :options="menuOptions" :value="(currentRoute.meta && currentRoute.meta.activeMenu) || currentRoute.name" - @update:value="handleMenuSelect" - /> + @update:value="handleMenuSelect" />