feat: 迁移 v3-admin v3.1.3 版本代码
This commit is contained in:
@@ -39,8 +39,8 @@ import { useRouter } from 'vue-router'
|
||||
import { useAppStore } from '@/store/modules/app'
|
||||
import { useSettingsStore } from '@/store/modules/settings'
|
||||
import { useUserStore } from '@/store/modules/user'
|
||||
import BreadCrumb from '../bread-crumb/index.vue'
|
||||
import Hamburger from '../hamburger/index.vue'
|
||||
import BreadCrumb from '../BreadCrumb/index.vue'
|
||||
import Hamburger from '../Hamburger/index.vue'
|
||||
import ThemeSwitch from '@/components/ThemeSwitch/index.vue'
|
||||
import Screenfull from '@/components/Screenfull/index.vue'
|
||||
|
||||
|
||||
@@ -31,11 +31,11 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import path from 'path'
|
||||
import path from 'path-browserify'
|
||||
import { computed, PropType } from 'vue'
|
||||
import { RouteRecordRaw } from 'vue-router'
|
||||
import { isExternal } from '@/utils/validate'
|
||||
import SidebarItemLink from './sidebar-item-link.vue'
|
||||
import SidebarItemLink from './SidebarItemLink.vue'
|
||||
|
||||
const props = defineProps({
|
||||
item: {
|
||||
|
||||
@@ -29,8 +29,8 @@ import { useRoute } from 'vue-router'
|
||||
import { useAppStore } from '@/store/modules/app'
|
||||
import { usePermissionStore } from '@/store/modules/permission'
|
||||
import { useSettingsStore } from '@/store/modules/settings'
|
||||
import SidebarItem from './sidebar-item.vue'
|
||||
import SidebarLogo from './sidebar-logo.vue'
|
||||
import SidebarItem from './SidebarItem.vue'
|
||||
import SidebarLogo from './SidebarLogo.vue'
|
||||
|
||||
const route = useRoute()
|
||||
const sidebar = computed(() => {
|
||||
|
||||
@@ -35,12 +35,12 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import path from 'path'
|
||||
import path from 'path-browserify'
|
||||
import { useTagsViewStore, ITagView } from '@/store/modules/tags-view'
|
||||
import { usePermissionStore } from '@/store/modules/permission'
|
||||
import { computed, getCurrentInstance, nextTick, onBeforeMount, reactive, watch } from 'vue'
|
||||
import { RouteRecordRaw, useRoute, useRouter } from 'vue-router'
|
||||
import ScrollPane from './scroll-pane.vue'
|
||||
import ScrollPane from './ScrollPane.vue'
|
||||
import { Close } from '@element-plus/icons-vue'
|
||||
|
||||
const tagsViewStore = useTagsViewStore()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export { default as AppMain } from './AppMain.vue'
|
||||
export { default as NavigationBar } from './navigation-bar/index.vue'
|
||||
export { default as Settings } from './settings/index.vue'
|
||||
export { default as Sidebar } from './sidebar/index.vue'
|
||||
export { default as TagsView } from './tags-view/index.vue'
|
||||
export { default as RightPanel } from './right-panel/index.vue'
|
||||
export { default as NavigationBar } from './NavigationBar/index.vue'
|
||||
export { default as Settings } from './Settings/index.vue'
|
||||
export { default as Sidebar } from './Sidebar/index.vue'
|
||||
export { default as TagsView } from './TagsView/index.vue'
|
||||
export { default as RightPanel } from './RightPanel/index.vue'
|
||||
|
||||
Reference in New Issue
Block a user