Former-commit-id: 61000dc9b721435e9111ebdd2fcf59fc709a0a66
This commit is contained in:
liyang
2018-09-20 14:12:11 +08:00
parent f56ca5c254
commit e0ce56c7e9
164 changed files with 0 additions and 36400 deletions
@@ -1,27 +0,0 @@
<template>
<el-tooltip
effect="dark"
:content="active ? '退出全屏' : '全屏'"
placement="bottom">
<el-button class="d2-mr btn-text can-hover" type="text" @click="toggle">
<d2-icon v-if="active" name="compress"/>
<d2-icon v-else name="arrows-alt" style="font-size: 16px"/>
</el-button>
</el-tooltip>
</template>
<script>
import { mapState, mapMutations } from 'vuex'
export default {
computed: {
...mapState('d2admin/fullscreen', [
'active'
])
},
methods: {
...mapMutations('d2admin/fullscreen', [
'toggle'
])
}
}
</script>