| | |
| | | <el-dropdown-item @click.native="setLayout" v-if="setting">
|
| | | <span>布局设置</span>
|
| | | </el-dropdown-item>
|
| | | <el-dropdown-item @click.native="lockScreen">
|
| | | <span>锁定屏幕</span>
|
| | | </el-dropdown-item>
|
| | | <el-dropdown-item divided @click.native="logout">
|
| | | <span>退出登录</span>
|
| | | </el-dropdown-item>
|
| | |
| | | setLayout(event) {
|
| | | this.$emit('setLayout')
|
| | | },
|
| | | lockScreen() {
|
| | | const currentPath = this.$route.fullPath
|
| | | this.$store.dispatch('lock/lockScreen', currentPath).then(() => {
|
| | | this.$router.push('/lock')
|
| | | })
|
| | | },
|
| | | logout() {
|
| | | this.$confirm('确定注销并退出系统吗?', '提示', {
|
| | | confirmButtonText: '确定',
|
| | |
| | | align-items: center;
|
| | | overflow: hidden;
|
| | | margin-left: 8px;
|
| | | }
|
| | |
|
| | | .errLog-container {
|
| | | display: inline-block;
|
| | | vertical-align: top;
|
| | | }
|
| | |
|
| | | .right-menu {
|