From 308326a5f9fb228eae6901dc09e6c142dde5716f Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Fri, 29 Dec 2023 21:23:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 + .gitignore | 1 + LICENSE | 4 +++- index.html | 2 ++ src/router/routes/index.ts | 2 ++ src/router/routes/modules/demo/comp.ts | 8 -------- src/settings/siteSetting.ts | 2 +- src/utils/http/axios/index.ts | 1 + src/views/system/message/template/index.vue | 1 + src/views/system/notice/DetailModal.vue | 2 +- src/views/system/role/index.vue | 2 -- src/views/system/tenant/TenantUserList.vue | 2 +- src/views/system/user/index.vue | 2 -- src/views/system/user/user.api.ts | 13 ++++++------- src/views/system/user/user.data.ts | 10 +++++++++- 15 files changed, 29 insertions(+), 24 deletions(-) diff --git a/.env.development b/.env.development index 60d6a9c..5560e19 100644 --- a/.env.development +++ b/.env.development @@ -4,6 +4,7 @@ VITE_USE_MOCK = true # 发布路径 VITE_PUBLIC_PATH = / + # 跨域代理,您可以配置多个 ,请注意,没有换行符 VITE_PROXY = [["/jeecgboot","http://localhost:8080/jeecg-boot"],["/upload","http://localhost:3300/upload"]] diff --git a/.gitignore b/.gitignore index a7b1fe6..6aef0f8 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ pnpm-debug.log* # Editor directories and files .idea +.svn # .vscode *.suo *.ntvs* diff --git a/LICENSE b/LICENSE index 2476d1d..7afdd65 100644 --- a/LICENSE +++ b/LICENSE @@ -32,4 +32,6 @@ SOFTWARE. 违反此条款属于侵权行为,须赔偿侵权经济损失,同时立即停止著作权侵权行为。 总结:在遵循Apache开源协议和开源协议补充条款下,允许商用使用,不会造成侵权行为! - 解释权归:http://www.jeecg.com + 解释权归: + http://www.jeecg.com + http://guojusoft.com diff --git a/index.html b/index.html index 67ddad8..ef61a19 100644 --- a/index.html +++ b/index.html @@ -166,6 +166,7 @@ + + diff --git a/src/router/routes/index.ts b/src/router/routes/index.ts index 4911b81..6df062f 100644 --- a/src/router/routes/index.ts +++ b/src/router/routes/index.ts @@ -39,6 +39,7 @@ export const LoginRoute: AppRouteRecordRaw = { }, }; +//update-begin---author:wangshuai ---date:20220629 for:auth2登录页面路由------------ export const Oauth2LoginRoute: AppRouteRecordRaw = { path: '/oauth2-app/login', name: 'oauth2-app-login', @@ -49,6 +50,7 @@ export const Oauth2LoginRoute: AppRouteRecordRaw = { title: t('routes.oauth2.login'), }, }; +//update-end---author:wangshuai ---date:20220629 for:auth2登录页面路由------------ /** * 【通过token直接静默登录】流程办理登录页面 中转跳转 diff --git a/src/router/routes/modules/demo/comp.ts b/src/router/routes/modules/demo/comp.ts index 9e99120..cc0cc44 100644 --- a/src/router/routes/modules/demo/comp.ts +++ b/src/router/routes/modules/demo/comp.ts @@ -466,14 +466,6 @@ const comp: AppRouteModule = { title: t('routes.demo.feat.copy'), }, }, - { - path: 'codemirror', - name: 'codemirrorDemo', - component: () => import('/@/views/demo/codemirror/index.vue'), - meta: { - title: t('routes.demo.feat.codemirror'), - }, - }, { path: 'ripple', name: 'RippleDemo', diff --git a/src/settings/siteSetting.ts b/src/settings/siteSetting.ts index 06c1195..234c1ab 100644 --- a/src/settings/siteSetting.ts +++ b/src/settings/siteSetting.ts @@ -2,7 +2,7 @@ export const GITHUB_URL = 'https://github.com/jeecgboot/jeecg-boot'; // vue-Jeecg-admin-next-doc -export const DOC_URL = 'http://help.jeecg.com'; +export const DOC_URL = 'https://help.jeecg.com'; // site url export const SITE_URL = 'http://www.jeecg.com'; diff --git a/src/utils/http/axios/index.ts b/src/utils/http/axios/index.ts index 1fff683..89ce34c 100644 --- a/src/utils/http/axios/index.ts +++ b/src/utils/http/axios/index.ts @@ -245,6 +245,7 @@ function createAxios(opt?: Partial) { // authentication schemes,e.g: Bearer // authenticationScheme: 'Bearer', authenticationScheme: '', + //接口超时设置 timeout: 10 * 1000, // 基础接口地址 // baseURL: globSetting.apiUrl, diff --git a/src/views/system/message/template/index.vue b/src/views/system/message/template/index.vue index d1b5945..6dcab25 100644 --- a/src/views/system/message/template/index.vue +++ b/src/views/system/message/template/index.vue @@ -196,6 +196,7 @@ */ function handleDetail(record) { openModal(true,{ + title: "消息模板详情", isUpdate: true, showFooter: false, record:record diff --git a/src/views/system/notice/DetailModal.vue b/src/views/system/notice/DetailModal.vue index 7497e73..d6b258a 100644 --- a/src/views/system/notice/DetailModal.vue +++ b/src/views/system/notice/DetailModal.vue @@ -1,5 +1,5 @@