基础版修正

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

@ -15,21 +15,10 @@
<a-badge :count="count" @click="openPlc"> <a-badge :count="count" @click="openPlc">
<a-icon type="bell" style="font-size:20px;cursor:pointer"/> <a-icon type="bell" style="font-size:20px;cursor:pointer"/>
</a-badge> </a-badge>
<a-popover id="popover" v-model="visible" placement="bottom" trigger="click"> <div style="width:20px"/>
<a href="javascript:;" style="margin:0 10px"> <div >
{{ <img width="120" :src="logo" alt/>
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> </div>
</a-popover>
</div> </div>
</div> </div>
</template> </template>
@ -56,7 +45,8 @@ export default {
visible: false, visible: false,
collapsed: false, collapsed: false,
count: 0, count: 0,
title: "" title: "",
logo:require('@/assets/indexlogo.png'),
}; };
}, },
mounted() { mounted() {

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

Loading…
Cancel
Save