jinhui.wang

router状态改变,退出地址改变

......@@ -75,7 +75,7 @@ let tableHeaders = {
},
{
name: "推送状态",
value: "cargoPushStatus",
value: "cargoAllocationDataStatus",
width: "100",
align: "center",
sorTable: true,
......
......@@ -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"
......
......@@ -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系统跳转
});
});
......
......@@ -90,7 +90,7 @@ export const constantRoutes = [
]
export default new Router({
mode: 'hash', // 去掉url中的#
mode: 'history', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes,
base: settings.routerBase,
......