diff --git a/index.html b/index.html index 97764dc..ff3273d 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,8 @@
- + + diff --git a/src/views/pages/richedit/index.vue b/src/views/pages/richedit/index.vue index fb9bd0f..1fad76c 100644 --- a/src/views/pages/richedit/index.vue +++ b/src/views/pages/richedit/index.vue @@ -290,6 +290,7 @@ import { highlightTitle } from '/@/utils/highlight'; import clipboard from 'clipboard'; import { Session } from '/@/utils/storage'; import recordDialog from './dialog/recordDialog.vue'; +import { isMobileByWidth } from '/@/utils/Utils' const recordDialogRef = ref(); /** 管理后台需求文件0519(V1.1) start */ @@ -701,6 +702,9 @@ function recordDialogClose() { } // 页面加载时 onMounted(async () => { + if (isMobileByWidth() && Session.get('userInfoLocal').userType == '01') { + router.push('/richeditMobile'); + } NextLoading.done(); getTagSourceFn(); getData(); diff --git a/src/views/pages/richedit/indexMobile.vue b/src/views/pages/richedit/indexMobile.vue index aa237d5..28b2235 100644 --- a/src/views/pages/richedit/indexMobile.vue +++ b/src/views/pages/richedit/indexMobile.vue @@ -32,7 +32,7 @@