diff --git a/src/layout/component/main.vue b/src/layout/component/main.vue index 36cec94..96a24f7 100644 --- a/src/layout/component/main.vue +++ b/src/layout/component/main.vue @@ -1,15 +1,12 @@ @@ -20,6 +17,7 @@ import { storeToRefs } from 'pinia'; import { useTagsViewRoutes } from '/@/stores/tagsViewRoutes'; import { useThemeConfig } from '/@/stores/themeConfig'; import { NextLoading } from '/@/utils/loading'; +import { isMobileByWidth } from '/@/utils/Utils' // 引入组件 const LayoutParentView = defineAsyncComponent(() => import('/@/layout/routerView/parent.vue')); diff --git a/src/router/route.ts b/src/router/route.ts index 4004803..a822d71 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -121,20 +121,7 @@ export const dynamicRoutes: Array = [ roles: ['admin'], }, }, - { - path: '/detailMobile', - name: 'detailMobile', - component: () => import('/@/views/pages/richedit/detailMobile.vue'), - meta: { - title: '详情', - isLink: '', - isHide: true, - isKeepAlive: true, - isAffix: true, - isIframe: false, - roles: ['admin'], - }, - }, + { path: '/richeditMobile', name: 'richeditMobile', diff --git a/src/views/pages/richedit/detailMobile.vue b/src/views/pages/richedit/detailMobile.vue deleted file mode 100644 index ad85642..0000000 --- a/src/views/pages/richedit/detailMobile.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - - -