Blame view

ant-design-vue-jeecg/src/views/jeecg/SplitPanel.vue 531 Bytes
肖超群 authored
1
2
3
4
5
6
7
8
9
<template>
  <a-card>
    <a-button @click="splitPane" type="primary" icon="desktop">点我分屏</a-button>

    <split-panel-modal ref="splitPanelModal"></split-panel-modal>
  </a-card>
</template>

<script>
肖超群 authored
10
import SplitPanelModal from './modules/SplitPanelModal'
肖超群 authored
11
肖超群 authored
12
13
14
15
16
17
18
19
20
21
22
23
24
export default {
  name: 'SplitPanel',
  components: {
    SplitPanelModal,
  },
  data() {
    return {
      description: '分屏',
    }
  },
  methods: {
    splitPane() {
      this.$refs.splitPanelModal.show();
肖超群 authored
25
26
    }
  }
肖超群 authored
27
}
肖超群 authored
28
29
30
31
32
</script>

<style scoped>

</style>