File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
api/jeecg-boot-base-common Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const SYS_BUTTON_AUTH = 'SYS_BUTTON_AUTH'
1717export const ENCRYPTED_STRING = 'ENCRYPTED_STRING'
1818export const ENHANCE_PRE = 'enhance_'
1919export 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
2222export const CONTENT_WIDTH_TYPE = {
2323 Fluid : 'Fluid' ,
Original file line number Diff line number Diff line change 11import * as api from '@/api/api'
22import { isURL } from '@/utils/validate'
33import onlineCommons from '@jeecg/antd-online-beta220'
4+ import { INDEX_MAIN_PAGE_PATH } from "@/store/mutation-types"
45
56export function timeFix ( ) {
67 const time = new Date ( )
@@ -83,11 +84,11 @@ export function formatDate(value, fmt) {
8384export function generateIndexRouter ( data ) {
8485let 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 ]
Original file line number Diff line number Diff line change 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/'
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 ()} ,欢迎回来` ,
You can’t perform that action at this time.
0 commit comments