mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 23:40:38 +00:00
improve: home路径
This commit is contained in:
parent
890c336969
commit
d06f7b0830
@ -59,7 +59,7 @@
|
||||
<i class="el-icon-arrow-down el-icon--right"></i>
|
||||
</span>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="/home">{{ $t('message.user.dropdown1') }}</el-dropdown-item>
|
||||
<el-dropdown-item :command="homePath">{{ $t('message.user.dropdown1') }}</el-dropdown-item>
|
||||
<!-- <el-dropdown-item command="wareHouse">{{ $t('message.user.dropdown6') }}</el-dropdown-item>
|
||||
<el-dropdown-item command="/personal">{{ $t('message.user.dropdown2') }}</el-dropdown-item>
|
||||
<el-dropdown-item command="/404">{{ $t('message.user.dropdown3') }}</el-dropdown-item>
|
||||
@ -88,6 +88,7 @@ export default {
|
||||
isShowUserNewsPopover: false,
|
||||
disabledI18n: 'zh-cn',
|
||||
disabledSize: '',
|
||||
homePath: `${settings.routePre}/home`,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -227,7 +228,6 @@ export default {
|
||||
.catch(() => {});
|
||||
}, 150);
|
||||
} else if (path === 'wareHouse') {
|
||||
|
||||
} else {
|
||||
this.$router.push(path);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user