Skip to content

Commit 564fc92

Browse files
committed
Merge branch 'dev'
2 parents a0c0480 + 7897c3a commit 564fc92

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

api/jeecg-boot-base-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.jeecgframework.boot</groupId>
99
<artifactId>jeecg-boot-parent</artifactId>
10-
<version>2.2.0</version>
10+
<version>2.3.0</version>
1111
</parent>
1212

1313
<repositories>

web/src/store/mutation-types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const SYS_BUTTON_AUTH = 'SYS_BUTTON_AUTH'
1717
export const ENCRYPTED_STRING = 'ENCRYPTED_STRING'
1818
export const ENHANCE_PRE = 'enhance_'
1919
export const UI_CACHE_DB_DICT_DATA = 'UI_CACHE_DB_DICT_DATA'
20-
export const INDEX_MAIN_PAGE_PATH = "/dashboard/index"
20+
export const INDEX_MAIN_PAGE_PATH = "/account/center"
2121

2222
export const CONTENT_WIDTH_TYPE = {
2323
Fluid: 'Fluid',

web/src/utils/util.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as api from '@/api/api'
22
import { isURL } from '@/utils/validate'
33
import onlineCommons from '@jeecg/antd-online-beta220'
4+
import { INDEX_MAIN_PAGE_PATH} from "@/store/mutation-types"
45

56
export function timeFix() {
67
const time = new Date()
@@ -83,11 +84,11 @@ export function formatDate(value, fmt) {
8384
export function generateIndexRouter(data) {
8485
let indexRouter = [{
8586
path: '/',
86-
name: 'dashboard',
87+
name: 'index',
8788
//component: () => import('@/components/layouts/BasicLayout'),
8889
component: resolve => require(['@/components/layouts/TabLayout'], resolve),
8990
meta: { title: '首页' },
90-
redirect: '/dashboard/index',
91+
redirect: INDEX_MAIN_PAGE_PATH,
9192
children: [
9293
...generateChildRouters(data)
9394
]

web/src/views/user/Login.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
import { mapActions } from "vuex"
169169
import { timeFix } from "@/utils/util"
170170
import Vue from 'vue'
171-
import { ACCESS_TOKEN ,ENCRYPTED_STRING} from "@/store/mutation-types"
171+
import { ACCESS_TOKEN ,ENCRYPTED_STRING, INDEX_MAIN_PAGE_PATH} from "@/store/mutation-types"
172172
import { putAction,postAction,getAction } from '@/api/manage'
173173
import { encryption , getEncryptedString } from '@/utils/encryption/aesEncrypt'
174174
import store from '@/store/'
@@ -376,7 +376,7 @@
376376
// update-begin- author:sunjianlei --- date:20190812 --- for: 登录成功后不解除禁用按钮,防止多次点击
377377
// this.loginBtn = false
378378
// update-end- author:sunjianlei --- date:20190812 --- for: 登录成功后不解除禁用按钮,防止多次点击
379-
this.$router.push({ path: "/dashboard/index" })
379+
this.$router.push({ path: INDEX_MAIN_PAGE_PATH })
380380
this.$notification.success({
381381
message: '欢迎',
382382
description: `${timeFix()},欢迎回来`,

0 commit comments

Comments
 (0)