123456789101112131415161718192021222324252627282930313233 |
- <template>
- <div id="app">
- <router-view/>
- </div>
- </template>
- <script>
- export default {
- name: 'App',
- data() {
- return {
- isCollapse: true
- };
- },
- methods: {
- handleOpen(key, keyPath) {
- console.log(key, keyPath);
- },
- handleClose(key, keyPath) {
- console.log(key, keyPath);
- }
- }
- }
- </script>
- <style>
- #app {
- width: 100%;
- height: 100%;
- }
- </style>
|