Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-06-22 10:11:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7b22919beba51b68fe08221b8a274475211d0157
7b22919b
1 parent
d8ce1cab
router状态改变,退出地址改变
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
src/assets/languages/tableHeaders.js
src/components/Table/index.vue
src/layout/components/Navbar.vue
src/router/index.js
src/assets/languages/tableHeaders.js
View file @
7b22919
...
...
@@ -75,7 +75,7 @@ let tableHeaders = {
},
{
name
:
"推送状态"
,
value
:
"cargo
Push
Status"
,
value
:
"cargo
AllocationData
Status"
,
width
:
"100"
,
align
:
"center"
,
sorTable
:
true
,
...
...
src/components/Table/index.vue
View file @
7b22919
...
...
@@ -9,7 +9,7 @@
<!-- 多选框 -->
<el-table-column v-if="selection" type="selection" width="50" align="center" :fixed="true"></el-table-column>
<!-- 序号 -->
<el-table-column v-if="order" type="index" width="
50" align="center" :index="indexAdd"
></el-table-column>
<el-table-column v-if="order" type="index" width="
70" align="center" :index="indexAdd" show-overflow-tooltip
></el-table-column>
<template v-for="(item, index) in headerData" v-if="item.status == 1">
<!-- 自定义插槽 -->
<el-table-column v-if="item.slot" :prop="item.value" :label="item.name" :width="item.width" :align="item.align"
...
...
src/layout/components/Navbar.vue
View file @
7b22919
...
...
@@ -135,7 +135,7 @@ export default {
type: "warning",
}).then(() => {
this.$store.dispatch("LogOut").then(() => {
location.href = "/index";
this.$router.push('/login')
// window.location.href = "https://test.secure.fedex.com/logout";//wsso系统跳转
});
});
...
...
src/router/index.js
View file @
7b22919
...
...
@@ -90,7 +90,7 @@ export const constantRoutes = [
]
export
default
new
Router
({
mode
:
'h
ash
'
,
// 去掉url中的#
mode
:
'h
istory
'
,
// 去掉url中的#
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
constantRoutes
,
base
:
settings
.
routerBase
,
...
...
Please
register
or
login
to post a comment