基础版修正

merge-requests/4/merge
yiming 3 years ago
parent a2e5281780
commit 46dba190f2

@ -15,21 +15,10 @@
<a-badge :count="count" @click="openPlc">
<a-icon type="bell" style="font-size:20px;cursor:pointer"/>
</a-badge>
<a-popover id="popover" v-model="visible" placement="bottom" trigger="click">
<a href="javascript:;" style="margin:0 10px">
{{
userInfo.name ? userInfo.name : "userName"
}}
</a>
<div class="flex flex-column" :style="{ 'min-width': '78px' }" slot="content">
<a
class="block mb16"
href="javascript:;"
@click="visible = false;$router.push({name: 'center'})"
>个人中心</a>
<a href="javascript:;" @click="logout">退</a>
</div>
</a-popover>
<div style="width:20px"/>
<div >
<img width="120" :src="logo" alt/>
</div>
</div>
</div>
</template>
@ -56,7 +45,8 @@ export default {
visible: false,
collapsed: false,
count: 0,
title: ""
title: "",
logo:require('@/assets/indexlogo.png'),
};
},
mounted() {

@ -29,15 +29,15 @@ const routes = [{
},
component: () => import('@/views/index'),
children: [
// {
// path: 'videoWall',
// name: 'videoWall',
// meta: {
// icon: 'desktop',
// name: '视频墙'
// },
// component: () => import('@/views/videoWall/index'),
// },
{
path: 'videoWall',
name: 'videoWall',
meta: {
icon: 'desktop',
name: '视频墙'
},
component: () => import('@/views/videoWall/index'),
},
{
path: 'realTimeMonitoring',
name: 'realTimeMonitoring',

Loading…
Cancel
Save