fix: 修改名称规范问题

This commit is contained in:
MTrun
2022-03-14 19:52:01 +08:00
parent b60843d3ed
commit f4df648e5a
70 changed files with 136 additions and 155 deletions
@@ -1,3 +0,0 @@
import AsideFooter from './index.vue'
export { AsideFooter }
@@ -1,3 +0,0 @@
import Create from './index.vue'
export { Create }
@@ -1,3 +0,0 @@
import GoHeader from './index.vue'
export { GoHeader }
@@ -1,13 +0,0 @@
<template>
<go-header>
<template #ri-left>
</template>
<template #ri-right>
<user-info></user-info>
</template>
</go-header>
</template>
<script setup lang="ts">
import { GoHeader } from '@/layout/components/GoHeader'
import { UserInfo } from '@/components/UserInfo'
</script>
@@ -0,0 +1,3 @@
import ProjectLayoutAsideFooter from './index.vue'
export { ProjectLayoutAsideFooter }
@@ -7,7 +7,7 @@
<n-button secondary @click="handleDoc">
<template #icon>
<n-icon size="18">
<HelpOutlineIcon></HelpOutlineIcon>
<help-outline-icon></help-outline-icon>
</n-icon>
</template>
</n-button>
@@ -20,7 +20,7 @@
<n-button v-else secondary @click="handleDoc">
<template #icon>
<n-icon size="18">
<HelpOutlineIcon></HelpOutlineIcon>
<help-outline-icon></help-outline-icon>
</n-icon>
</template>
<n-text>{{ $t('global.help') }}</n-text>
@@ -31,7 +31,7 @@
<n-button secondary @click="handleDoc">
<template #icon>
<n-icon size="18">
<CodeSlashIcon></CodeSlashIcon>
<code-slash-icon></code-slash-icon>
</n-icon>
</template>
</n-button>
@@ -44,7 +44,7 @@
<n-button v-else secondary @click="handleCode">
<template #icon>
<n-icon size="18">
<CodeSlashIcon></CodeSlashIcon>
<code-slash-icon></code-slash-icon>
</n-icon>
</template>
<n-text v-show="!collapsed">{{ $t('global.code_addr') }}</n-text>
@@ -0,0 +1,3 @@
import ProjectLayoutCreate from './index.vue'
export { ProjectLayoutCreate }
@@ -6,7 +6,7 @@
<template #icon>
<n-icon>
<DuplicateOutlineIcon v-show="designStore.getDarkTheme"></DuplicateOutlineIcon>
<DuplicateIcon v-show="!designStore.getDarkTheme"></DuplicateOutlineIcon>
<DuplicateIcon v-show="!designStore.getDarkTheme"></DuplicateIcon>
</n-icon>
</template>
</n-button>
@@ -19,7 +19,7 @@
<template #icon>
<n-icon>
<DuplicateOutlineIcon v-show="designStore.getDarkTheme"></DuplicateOutlineIcon>
<DuplicateIcon v-show="!designStore.getDarkTheme"></DuplicateOutlineIcon>
<DuplicateIcon v-show="!designStore.getDarkTheme"></DuplicateIcon>
</n-icon>
</template>
<span>
@@ -0,0 +1,3 @@
import ProjectLayoutSider from './index.vue'
export { ProjectLayoutSider }
@@ -14,7 +14,7 @@
<div class="go-project-sider-flex">
<aside>
<n-space vertical class="go-project-sider-top">
<Create :collapsed="collapsed"></Create>
<project-layout-create :collapsed="collapsed"></project-layout-create>
</n-space>
<n-menu
:value="menuValue"
@@ -26,7 +26,7 @@
</aside>
<!-- 底部提示 -->
<div class="sider-bottom">
<AsideFooter :collapsed="collapsed"></AsideFooter>
<project-layout-aside-footer :collapsed="collapsed"></project-layout-aside-footer>
</div>
</div>
</n-layout-sider>
@@ -34,9 +34,9 @@
<script setup lang="ts">
import { ref, computed, onMounted, onUnmounted, toRefs } from 'vue'
import { Create } from '../Create/index'
import { AsideFooter } from '../AsideFooter/index'
import { asideWidth, asideCollapsedWidth } from '@/settings/designSetting'
import { ProjectLayoutCreate } from '../ProjectLayoutCreate/index'
import { ProjectLayoutAsideFooter } from '../ProjectLayoutAsideFooter/index'
import { asideWidth } from '@/settings/designSetting'
import { useRoute } from 'vue-router'
import { useSettingStore } from '@/store/modules/settingStore/settingStore'
import { menuOptionsInit, expandedKeys } from './menu'
@@ -1,3 +0,0 @@
import Sider from './index.vue'
export { Sider }