Commit da923253 authored by 张伯涛's avatar 张伯涛

pda分支左侧菜单栏默认折叠隐藏

parent 6a32377f
<template> <template>
<div class="navbar"> <div class="navbar">
<div class="title-box"> <div class="title-box">
<hamburger <!-- <hamburger-->
:is-active="sidebar.opened" <!-- :is-active="sidebar.opened"-->
class="hamburger-container" <!-- class="hamburger-container"-->
@toggleClick="toggleSideBar" <!-- @toggleClick="toggleSideBar"-->
/> <!-- />-->
<!-- <el-dropdown--> <!-- <el-dropdown-->
<!-- class="change-sys"--> <!-- class="change-sys"-->
<!-- @command="handleCommand"--> <!-- @command="handleCommand"-->
......
...@@ -2,7 +2,8 @@ import Cookies from 'js-cookie' ...@@ -2,7 +2,8 @@ import Cookies from 'js-cookie'
const state = { const state = {
sidebar: { sidebar: {
opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true, // opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
opened: false,
withoutAnimation: false withoutAnimation: false
}, },
device: 'desktop', device: 'desktop',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment