diff --git a/.env.production b/.env.production index 0569ad4..ca05dbb 100644 --- a/.env.production +++ b/.env.production @@ -5,8 +5,8 @@ VITE_APP_TITLE = 政务云后台管理系统 VITE_APP_ENV = 'production' # 生产环境 -VITE_APP_BASE_API = 'http://47.109.205.240:8080' -VITE_APP_PLATFORM = 'http://47.109.205.240/platform' +VITE_APP_BASE_API = 'https://app.yingyijt.com/apis' +VITE_APP_PLATFORM = 'https://app.yingyijt.com/platform' # 是否在打包时开启压缩,支持 gzip 和 brotli VITE_BUILD_COMPRESS = gzip \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 85153c3..d7b9b80 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -79,10 +79,10 @@ export const constantRoutes = [ path: '/sub-government-admin/user', component: Layout, hidden: true, - redirect: '/sub-government-admin/user/profile', + redirect: 'noredirect', children: [ { - path: 'profile/:activeTab?', + path: '', component: () => import('@/views/system/user/profile/index'), name: 'Profile', meta: { title: '个人中心', icon: 'user' } diff --git a/src/views/error/401.vue b/src/views/error/401.vue index b361368..b9c1a04 100644 --- a/src/views/error/401.vue +++ b/src/views/error/401.vue @@ -34,7 +34,7 @@ const errGif = ref(errImage + "?" + +new Date()) function back() { if (proxy.$route.query.noGoBack) { - proxy.$router.push({ path: "/" }) + proxy.$router.push({ path: "/sub-government-admin" }) } else { proxy.$router.go(-1) } diff --git a/src/views/login copy.vue b/src/views/login copy.vue index b836e69..6952b89 100644 --- a/src/views/login copy.vue +++ b/src/views/login copy.vue @@ -150,7 +150,7 @@ function handleLogin() { } return acc; }, {}); - router.push({ path: redirect.value || "/", query: otherQueryParams }); + router.push({ path: redirect.value || "/sub-government-admin", query: otherQueryParams }); }) .catch(() => { loading.value = false; diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue index 3af06c1..99ff8bb 100644 --- a/src/views/monitor/job/index.vue +++ b/src/views/monitor/job/index.vue @@ -438,7 +438,7 @@ function crontabFill(value) { /** 任务日志列表查询 */ function handleJobLog(row) { const jobId = row.jobId || 0 - router.push('/monitor/job-log/index/' + jobId) + router.push('/sub-government-admin/monitor/job-log/index/' + jobId) } /** 新增按钮操作 */ diff --git a/src/views/register.vue b/src/views/register.vue index badd966..03bdb54 100644 --- a/src/views/register.vue +++ b/src/views/register.vue @@ -64,7 +64,7 @@ 注 册 中...