移动位置
Former-commit-id: cf8d489b49cb34f9a52925fbb7513782983da761 [formerly faf6b83cfe94510c01bc8ea1d842c5956e3e0380] [formerly cf8d489b49cb34f9a52925fbb7513782983da761 [formerly faf6b83cfe94510c01bc8ea1d842c5956e3e0380] [formerly cf8d489b49cb34f9a52925fbb7513782983da761 [formerly faf6b83cfe94510c01bc8ea1d842c5956e3e0380] [formerly faf6b83cfe94510c01bc8ea1d842c5956e3e0380 [formerly 048d88450a3d1bdff8849f1e3a38220520a02126 [formerly 70fdb00c0efb9594eae4f140e2214db45738ce51]]]]] Former-commit-id: b7c324b407817c1e3f545eedd82ee4754caa13de Former-commit-id: 494ceafcab6bfad526bade28677259d258fcf5e9 Former-commit-id: d5c8b0a4ce0cb27f3f67f9d703d1d124af37fc97 [formerly fe98276c2e09f1bb76b86016fb2cafcd42e46174] Former-commit-id: 2ee7efdd31063ee721373265909cfad2da36ab86 Former-commit-id: 7befeb4e33a6295922ba299c8ee4f9edf8f91a2b Former-commit-id: ff277e09a7eb1b8c0b2858c5c1206925875c99e3 Former-commit-id: b197baed996eaa57bd961513443bbde3828413ad Former-commit-id: a1dd52121b4d6899c8b2c37ef7dac9a723e073f4
This commit is contained in:
24
src/pages/demo/playground/store/fullscreen/index.vue
Normal file
24
src/pages/demo/playground/store/fullscreen/index.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<d2-container type="card" class="page-demo-playground-fullscreen">
|
||||
<template slot="header">全屏</template>
|
||||
<el-button type="primary" @click="d2adminFullScreenToggle">
|
||||
d2adminFullScreenToggle 切换全屏
|
||||
</el-button>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState, mapMutations } from 'vuex'
|
||||
export default {
|
||||
computed: {
|
||||
...mapState({
|
||||
isFullScreen: state => state.d2admin.isFullScreen
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapMutations([
|
||||
'd2adminFullScreenToggle'
|
||||
])
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user