refactor: eslint代码检查优化

Former-commit-id: 4c11b5d0cdd10f28148cf3d9b593f85e082cdc51
This commit is contained in:
郝先瑞
2022-04-15 00:45:06 +08:00
parent 15022f51b9
commit dd93144788
69 changed files with 820 additions and 1774 deletions

View File

@@ -5,16 +5,16 @@
class="drawer-bg"
@click="handleClickOutside"
/>
<sidebar class="sidebar-container" />
<Sidebar class="sidebar-container" />
<div :class="{ hasTagsView: needTagsView }" class="main-container">
<div :class="{ 'fixed-header': fixedHeader }">
<navbar />
<tags-view v-if="needTagsView" />
</div>
<app-main />
<right-panel v-if="showSettings">
<RightPanel v-if="showSettings">
<settings />
</right-panel>
</RightPanel>
</div>
</div>
</template>
@@ -28,7 +28,7 @@ import RightPanel from "@/components/RightPanel/index.vue";
import useStore from "@/store";
const { width, height } = useWindowSize();
const { width } = useWindowSize();
const WIDTH = 992;
const { app, setting } = useStore();