| | |
| | | <template #dropdown> |
| | | <el-dropdown-menu> |
| | | <el-dropdown-item> |
| | | <span @click="toUserDetail" >个人中心</span> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item divided> |
| | | <span @click="loginOut">退出登录</span> |
| | | </el-dropdown-item> |
| | | </el-dropdown-menu> |
| | |
| | | }).catch(() => { }); |
| | | } |
| | | |
| | | const toUserDetail = () =>{ |
| | | router.push('/userCenter') |
| | | } |
| | | |
| | | const btnList = ref([]) |
| | | const btnList = ref([ |
| | | // {name:'系统监管',url:'/user'}, |
| | | ]) |
| | | |
| | | const navTo = (item) =>{ |
| | | router.push(item.url) |
| | |
| | | height: 90%; |
| | | background: url("@/assets/images/screen/content_bg.png") no-repeat; |
| | | background-size: 100% 100%; |
| | | padding: 0 1.5rem 1.5rem; |
| | | padding: 0 1.5rem 1rem; |
| | | } |
| | | } |
| | | </style> |