This commit is contained in:
ival 2019-08-27 10:28:37 +08:00
commit 1888ae855a

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="avatar-container" style="right: 80px;"> <div class="avatar-container" style="right: 80px;">
<el-menu-item v-for="item in entryList" :key="item.name" class="avatar-wrapper" index="" @click="item.handle"> <el-menu-item v-for="item in entryList" v-show="!item.hidden" :key="item.name" class="avatar-wrapper" index="" @click="item.handle">
<span style="color: white;">{{ $t(item.name) }}</span> <span style="color: white;">{{ $t(item.name) }}</span>
</el-menu-item> </el-menu-item>
<deomon-list ref="deomonList" /> <deomon-list ref="deomonList" />
@ -27,7 +27,8 @@ export default {
}, },
{ {
name: 'global.scan', name: 'global.scan',
handle: this.qcodeEntry handle: this.qcodeEntry,
hidden: process.env.NODE_ENV != 'development'
} }
], ],
stomp: null, stomp: null,