From 9eeef6d847aae8706b44e3634b6e55899d7e5be8 Mon Sep 17 00:00:00 2001 From: zhc077 <565291854@qq.com> Date: Mon, 2 Sep 2024 15:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96jeecgboot=20vue=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E9=80=9F=E5=BA=A6=20=20modify=20zhc=209.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3-master/src/components/Form/index.ts | 2 +- jeecgboot-vue3-master/src/components/registerGlobComp.ts | 4 ++-- jeecgboot-vue3-master/src/main.ts | 4 ++-- jeecgboot-vue3-master/src/router/routes/index.ts | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/jeecgboot-vue3-master/src/components/Form/index.ts b/jeecgboot-vue3-master/src/components/Form/index.ts index b18d36d0..d6515c5b 100644 --- a/jeecgboot-vue3-master/src/components/Form/index.ts +++ b/jeecgboot-vue3-master/src/components/Form/index.ts @@ -14,7 +14,7 @@ export { default as ApiRadioGroup } from './src/components/ApiRadioGroup.vue'; export { default as JAreaLinkage } from './src/jeecg/components/JAreaLinkage.vue'; export { default as JSelectUser } from './src/jeecg/components/JSelectUser.vue'; export { default as JSelectDept } from './src/jeecg/components/JSelectDept.vue'; -export { default as JCodeEditor } from './src/jeecg/components/JCodeEditor.vue'; +// export { default as JCodeEditor } from './src/jeecg/components/JCodeEditor.vue'; export { default as JCategorySelect } from './src/jeecg/components/JCategorySelect.vue'; export { default as JSelectMultiple } from './src/jeecg/components/JSelectMultiple.vue'; export { default as JPopup } from './src/jeecg/components/JPopup.vue'; diff --git a/jeecgboot-vue3-master/src/components/registerGlobComp.ts b/jeecgboot-vue3-master/src/components/registerGlobComp.ts index a1525e58..7580c424 100644 --- a/jeecgboot-vue3-master/src/components/registerGlobComp.ts +++ b/jeecgboot-vue3-master/src/components/registerGlobComp.ts @@ -3,7 +3,7 @@ import { Icon } from './Icon'; import AIcon from '/@/components/jeecg/AIcon.vue'; import { Button, JUploadButton } from './Button'; //敲敲云—仪表盘设计器(拖拽设计) -import DragEngine from '@qiaoqiaoyun/drag-free'; +// import DragEngine from '@qiaoqiaoyun/drag-free'; import { // Need Button as AntButton, @@ -109,7 +109,7 @@ export function registerGlobComp(app: App) { .use(InputNumber) .use(Carousel) .use(Popconfirm) - .use(DragEngine) + .use(Skeleton) .use(Cascader) .use(Rate); diff --git a/jeecgboot-vue3-master/src/main.ts b/jeecgboot-vue3-master/src/main.ts index 18f66e24..e85f96f1 100644 --- a/jeecgboot-vue3-master/src/main.ts +++ b/jeecgboot-vue3-master/src/main.ts @@ -19,7 +19,7 @@ import { registerGlobComp } from '/@/components/registerGlobComp'; import { registerThirdComp } from '/@/settings/registerThirdComp'; import { useSso } from '/@/hooks/web/useSso'; // 注册online模块lib -import { registerPackages } from '/@/utils/monorepo/registerPackages'; +// import { registerPackages } from '/@/utils/monorepo/registerPackages'; // 在本地开发中引入的,以提高浏览器响应速度 if (import.meta.env.DEV) { @@ -39,7 +39,7 @@ async function bootstrap() { initAppConfigStore(); // 注册外部模块路由(注册online模块lib) - registerPackages(app); + // registerPackages(app); // 注册全局组件 registerGlobComp(app); diff --git a/jeecgboot-vue3-master/src/router/routes/index.ts b/jeecgboot-vue3-master/src/router/routes/index.ts index 0f689c7a..775778fd 100644 --- a/jeecgboot-vue3-master/src/router/routes/index.ts +++ b/jeecgboot-vue3-master/src/router/routes/index.ts @@ -2,7 +2,7 @@ import type { AppRouteRecordRaw, AppRouteModule } from '/@/router/types'; import { PAGE_NOT_FOUND_ROUTE, REDIRECT_ROUTE } from '/@/router/routes/basic'; -import { mainOutRoutes } from './mainOut'; +// import { mainOutRoutes } from './mainOut'; import { PageEnum } from '/@/enums/pageEnum'; import { t } from '/@/hooks/web/useI18n'; @@ -173,4 +173,4 @@ export const TokenLoginRoute: AppRouteRecordRaw = { }; // Basic routing without permission -export const basicRoutes = [LoginRoute,compcom, RootRoute, ...mainOutRoutes, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE, TokenLoginRoute, Oauth2LoginRoute]; +export const basicRoutes = [LoginRoute,compcom, RootRoute, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE, TokenLoginRoute, Oauth2LoginRoute];